Opened 15 years ago
Closed 13 years ago
#275 closed enhancement (fixed)
Create a somewhat universal binary of the library on my Mac
Reported by: | Jari Häkkinen | Owned by: | Peter |
---|---|---|---|
Priority: | major | Milestone: | yat 0.6 |
Component: | build | Version: | trunk |
Keywords: | Cc: |
Description
Doing file libyat.so
should report
$ file libyat.so libyat.so: Mach-O universal binary with 4 architectures libyat.so (for architecture i386): Mach-O dynamically linked shared library i386 libyat.so (for architecture ppc): Mach-O dynamically linked shared library ppc libyat.so (for architecture ppc64): Mach-O 64-bit dynamically linked shared library ppc64 libyat.so (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64
on my Mac. Well, at least the Intel CPU architectures should be included.
Change History (6)
comment:1 Changed 15 years ago by
Milestone: | 0.4 → later |
---|
comment:2 Changed 13 years ago by
Summary: | Create a somewhat univeral binary of the library on my Mac → Create a somewhat universal binary of the library on my Mac |
---|
comment:3 Changed 13 years ago by
On a OSX 10.4 I ran
$ ./configure --disable-dependency-tracking CXXFLAGS="-arch i386 -arch ppc" LDFLAGS="-arch i386 -arch ppc" $ make
which results in
$ file yat/.libs/libyat.3.dylib yat/.libs/libyat.3.dylib: Mach-O universal binary with 2 architectures yat/.libs/libyat.3.dylib (for architecture i386): Mach-O dynamically linked shared library i386 yat/.libs/libyat.3.dylib (for architecture ppc): Mach-O dynamically linked shared library ppc
comment:5 Changed 13 years ago by
Milestone: | yat 0.x+ → yat 0.6 |
---|---|
Owner: | changed from Jari Häkkinen to Peter |
Status: | new → assigned |
comment:6 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
see here for a related technical note
http://developer.apple.com/technotes/tn2005/tn2137.html#TNTAG2