|Sep 17, 2008, 11:17 AM||#1|
Compiling Universal Binary library on Leopard, make/cc problems
I'm trying to compile the freetype library on Leopard for use as a Universal Binary library, however I'm having some make trouble.
I'm trying to pass options to the CC environment variable, but that always seems to result in a "libtool: link: `/Users/matt/Workspace/freetype/freetype-2.3.7/objs/ftsystem.lo' is not a valid libtool object" error, after which make fails.
This is the result of doing a simple:
make "CC=cc -arch i386"
Just doing a configure and make works ok (without CC) but I can only ever compile an i386 library this way. Configuring the the ppc build/host system options, and then doing make "CC=cc -arch ppc" results in the exact same error. Why doesn't it like cc?
|Sep 18, 2008, 12:41 PM||#2|
Have you looked at this?
Some projects don't even compile for PPC on an Intel Mac, for whatever reasons. I've had to just build them on a PPC machine and manually create the universal binary using lipo.
|Sep 19, 2008, 03:20 AM||#3|
I was starting to get that feeling considering other things were compiling fine with the exact same process. I had a feeling that I'd cross-compiled freetype before, but I might not have done. Might have to dig up a G4 Mini from eBay then, as I don't have a (working) PPC machine
Thanks for your help.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|iPhone: Is there a way to make a universal app think the iPhone is an iPad?||forza69||Jailbreaks and iOS Hacks||3||Feb 4, 2014 11:51 PM|
|Compiling Qemu problems.||justperry||PowerPC Macs||46||Feb 19, 2013 05:00 AM|
|Program that will cpy ipod contents and make a library?||micrors4racer||iPod||0||Aug 9, 2012 11:40 PM|
|You should be able to edit your library and make playlists on your phone||TH55||iPhone||8||Jul 20, 2012 12:09 AM|
All times are GMT -5. The time now is 12:35 AM.