Building Universial Binaries on a PPC MacOSX

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Building Universial Binaries on a PPC MacOSX

JP Szikora
Hi,

As the new MacIntel are there, I want to build Universal Binaries of
OpenSSL on a PowerPC MacOSX. How can I do that?

There are 2 URL on Apple's developer site describing that process:

http://developer.apple.com/documentation/Porting/Conceptual/PortingUnix/compiling/chapter_4_section_3.html#//apple_ref/doc/uid/TP40002850-BAJCFEBA
http://developer.apple.com/technotes/tn2005/tn2137.html

I've added  "-g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386
-arch ppc" in the darwin-ppc-cc line of Configure. (0.9.7i)
and then:
./config shared -DDSO_DLFCN -DHAVE_DLFCN_H
make

The problem is that ar cannot work with libraries containing code for
more than one architecture after ranlib has added a table of contents to
them.

Is there a way to solve this issue?

Cheers,

Jean-Pierre

--
Dr Jean-Pierre Szikora                   e-mail: [hidden email]
                                            tel: 32-2-764.75.00
74, av. Hippocrate - UCL 7459               fax: 32-2-764.65.65
1200 Brussels - Belgium                 PGP key: 0x6FCD7405

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]