libpython2.5.a not true static lib
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com User-agent: Mutt/1.5.18 (2008-05-17) Does anyone know why Apple insists in creating a bogus static lib for the system libpython2.5.a? It shows... file /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/config/libpython2.5.a /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/config/libpython2.5.a: Mach-O universal binary with 4 architectures /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/config/libpython2.5.a (for architecture ppc7400)Mach-O dynamically linked shared library ppc /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/config/libpython2.5.a (for architecture ppc64): Mach-O 64-bit dynamically linked shared library ppc64 /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/config/libpython2.5.a (for architecture i386): Mach-O dynamically linked shared library i386 /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/config/libpython2.5.a (for architecture x86_64):Mach-O 64-bit dynamically linked shared library x86_64 instead of the expected results seen with /usr/lib/libl.a... file libl.a libl.a: Mach-O universal binary with 4 architectures libl.a (for architecture ppc): current ar archive random library libl.a (for architecture ppc64): current ar archive random library libl.a (for architecture i386): current ar archive random library libl.a (for architecture x86_64): current ar archive random library This has been hacked around in the past by using the 'ar x' command to convert this 'static' libpython2.5.a into a true static library for linkage directly into shared libraries (such as in xplor-nih). However this hack may not be available to us in the future. Is there any particular reason why libpython2.5.a can't be built as current ar archive random library objects rather than with Mach-O dynamically linked shared library objects? Jack ps I have a radar bug report submitted asking for libpython2.5.a to be built properly as a real static library. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Jack Howarth