[clean-list] Re: Linking frameworks on Mac OS X

Shivkumar Chandrasekaran shiv at ece.ucsb.edu
Fri Aug 24 21:32:58 MEST 2007


Hi John,

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.

--shiv--


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  
> dialogue
> of a MachO environment (menu Environment/Edit Current).
>
> You can create a new environment by choosing menu Environment/Edit  
> List
> 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 mailing list