From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Can't get binder “-n” and “-z” options working
Date: Sun, 14 Apr 2013 02:23:12 +0200
Date: 2013-04-14T02:23:12+02:00 [thread overview]
Message-ID: <op.wvh8oyxbule2fv@cardamome> (raw)
Hi,
I must be stupid in some way and that must be simple, I already did this
some long time ago, but I can't get it working any‑more. I need to use an
external C main entry point, but both the “-n” and “-z” options added to
Default_Switches in the Binder package in my GPR file, seems to have no
effect at all, building with gprbuild.
If I remove my custom main sub‑program, I should get an error at link
time, but it don't. If I explicitly adds the object which contains the
custom main sub‑program to the linker options, I get a link error due to
main being defined two times.
These options are still supported, isn't it? Is there a known bug with
these option or is it me missing something stupid?
--
“Syntactic sugar causes cancer of the semi-colons.” [1]
“Structured Programming supports the law of the excluded muddle.” [1]
[1]: Epigrams on Programming — Alan J. — P. Yale University
next reply other threads:[~2013-04-14 0:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-14 0:23 Yannick Duchêne (Hibou57) [this message]
2013-04-14 0:59 ` Can't get binder “-n” and “-z” options working Yannick Duchêne (Hibou57)
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox