* Michel LESPINASSE <[EMAIL PROTECTED]> [20021009 19:57]: > On Wed, Oct 09, 2002 at 06:27:18PM -0500, Robert Boehne wrote: > > Ok, let me see if I understand this one, > > under Linux hppa, (presumably with gcc) user has added -prefer-non-pic > > to the CFLAGS explicitly, and configured with --enable-shared ?? ... > > What platforms (aside from Alpha & RS/6000) does this work on? > > That package (using -prefer-non-pic unconditionally) is into debian > now, it's been compiled successfully on all debian-supported arches > except hppa, so that would be x86, m68k, sparc, alpha, powerpc, arm, > mips/mipsel, ia64 and s390. I'm not sure exactly which of these use > -fPIC or not. Only hppa breaks, as it tries to not use -fPIC where the > architecture apparently requires -fPIC. >
I actually just got lazy and hacked it to not use -prefer-non-pic if the host was hppa*. walken's check is a better approach that I'll integrate into the next deb release. A libtool fix would be even better. ;) It's compiled for all archs now. This is just -compiling- though. I have no idea if PIC tricks work at runtime on all archs in all situations. But I presume that's why the flag exists in the first place. In case anyone wants to check which archs actually used -fPIC you can check the build logs: http://buildd.debian.org/build.php?pkg=mpeg2dec -dave _______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/libtool