From: Simon Wright <simon@pushface.org>
Subject: Re: Controlling the linking of shared libraries
Date: Sun, 24 Jul 2011 20:13:35 +0100
Date: 2011-07-24T20:13:35+01:00 [thread overview]
Message-ID: <m2bowjze3k.fsf@pushface.org> (raw)
In-Reply-To: 992cqbFm9mU1@mid.individual.net
Would it be possible to use an amended gprbuild configuration file? Here
on Mac OS X there's an option
for Shared_Library_Minimum_Switches use
("-dynamiclib", "-Wl,-flat_namespace", "-shared-libgcc");
and you could add your required option in there.
No good for gnatmake, of course.
I put in "-Wl,-foo" and rebuilt a shared library, and as expected the
result was
$ gprbuild -Pbc --config=botched.cgpr
gprlib bc.lexch
/opt/gnat-gpl-2011/bin/g++ \
-dynamiclib -Wl,-flat_namespace -shared-libgcc -Wl,-foo \
[...]
(don't know where g++ came from!)
next prev parent reply other threads:[~2011-07-24 19:13 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-21 18:01 Controlling the linking of shared libraries Björn Persson
2011-07-21 23:14 ` anon
2011-07-22 6:36 ` Stephen Leake
2011-07-22 23:50 ` Simon Wright
2011-07-24 11:08 ` Björn Persson
2011-07-24 18:03 ` anon
2011-07-24 19:07 ` Project file version: was " anon
2011-07-24 19:13 ` Simon Wright [this message]
2011-07-25 1:05 ` anon
2011-07-26 8:18 ` Björn Persson
2011-07-25 11:43 ` Stephen Leake
2011-07-25 12:06 ` Simon Wright
2011-07-25 12:29 ` Dmitry A. Kazakov
2011-07-26 8:19 ` Björn Persson
2011-07-28 10:18 ` Stephen Leake
2011-07-29 22:47 ` Vincent
2011-07-26 9:20 ` Vincent
2011-07-26 23:37 ` Björn Persson
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox