Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GMP 4.2 broken on G5



David,
     I think I have solved the problem. I thought the use of only
-fno-common in gmp to compile shared libs looked suspect. Sure enough
if I compile gmp 4.2 with...

./configure --enable-cxx CC='gcc -fPIC' CXX='g++ -fPIC'

...the resulting build fully passes make check on the G5. I don't
believe that -fno-common provides PIC code in the same fashion as
-fPIC. Googling those flags show a lot of code using both -fPIC
and -fno-common in the compiles.
             Jack
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.