[clean-list] Re: Linking frameworks on Mac OS X
shiv at ece.ucsb.edu
Fri Aug 24 21:32:58 MEST 2007
Will this work for Intel Macs? The reason I ask is that it seems not
to, even though it does do so on my PowerPC Mac. Just to be sure, in
both cases I choose StdEnv (MachO), and then add -framework vecLib in
the Static Linker box. Thanks for any help.
On Aug 21, 2007, at 2:38 AM, John van Groningen wrote:
> Shivkumar Chandrasekaran wrote:
>> I tried to go through the sources to see how to do it. Looking at
>> tools/CleanIDE/Mac/PmCleanSystem.icl I see that the function Link
>> needs a small modification (seems like the gnome guys already did
>> something here too). In particular the string "-framework Carbon"
>> needs to be replaced by "-framework Carbon -framework vecLib".
> You can link framework vecLib by adding
> -framework vecLib
> to the text box to the right of Static Linker in the Environment
> of a MachO environment (menu Environment/Edit Current).
> You can create a new environment by choosing menu Environment/Edit
> and then press button Copy.
>> The only problem is that I don't see a .prj file to use to rebuild
>> the IDE? Any help will be appreciated. (Unless some kind soul
>> tells me how to specify the flag in the IDE itself!)
> It is not necessary to rebuild the IDE to link against more
> frameworks, but
> if you still want to rebuild the IDE try project MacIDE.prj.
> Kind regards,
> John van Groningen
More information about the clean-list