linking files

Robert Dell dellr@mac.com
Tue Dec 21 06:47:00 GMT 2010


Jonathan Wakely wrote:
> On 20 December 2010 12:46, Robert Dell wrote:
>   
>> i wrote a program to replace gcc which simply logs all parameters to a log
>> file and then runs the renamed gcc, passing those parameters back.
>> i did this in order to make a makefile from my xcode project.  i have
>> everything working properly with one exception.  how do i link the ppc code
>> with the intel code for mac universal applications?
>>     
>
> I think you need to use the 'lipo' tool, not gcc
>
>   
thanks, that did the trick
lipo -create 
Build/yasse.build/intel/YASSE.build/Objects-normal/i386/YASSE 
Build/yasse.build/intel/YASSE.build/Objects-normal/ppc/YASSE -output 
Build/YASSE.expander/Contents/MacOS/yasse

my next object is to cut down some of the un-necessary folder creations.

my ultimate object is to make a ./configure and make file set, any ideas 
what to start reading first?



More information about the Gcc-help mailing list