gcc_select
Ryan Schmidt
ryandesign at macports.org
Wed Aug 24 11:33:29 PDT 2011
On Aug 21, 2011, at 01:42, Jeremy Huddleston wrote:
> On Aug 20, 2011, at 5:45 AM, Marko Käning wrote:
>
>> Looks like I've found the answer by now on the mentioned wiki page:
>> Just adding
>> ---
>> configure.compiler macports-gcc-4.4
>> depends_lib-append port:gcc44
>> ---
>> seems to be enough to get the port built with the wanted compiler.
>
> You should use depends_build there rather than depends_lib
It depends on the port. Some software will actually end up linked with the gcc* port's libgcc_s.1.dylib, in which case it should indeed be a library dependency. Use "otool -L" on the files the port installs to find out.
More information about the macports-dev
mailing list