Robert Boehne <[EMAIL PROTECTED]> writes: > > I would also like > to ask anyone who does depend on this to let us know when/where/why & > how > so we can add a section to the documentation on how to modify > code to not need -DPIC.
In GMP we have assembler code (mainly i386) which understands it has to be PIC to go in a shared library. libtool --mode=compile --tag=CC m4-ccas $CC $CFLAGS ... foo.asm m4-ccas is a script which passes foo.asm through m4 then assembles. It looks for -DPIC inserted into the options by libtool and passes that through to m4 to let foo.asm choose PIC or non-PIC instructions. The compiler is only involved for assembling "tmp-foo.s", not preprocessing, so what it defines for -fPIC etc doesn't help, we really want a direct indication from libtool. _______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/libtool