linking for dummies

markd at macports.org markd at macports.org
Fri Feb 15 21:43:53 PST 2008


>> Thanks for the reply.† It appears that the problem was not the addition
>of
>>† "-lgcc_s.10.5 -lgcc -lSystem" (only seen in verbose gcc mode), but the
>> inclusion of the "-lrrd".† I've never tried verbose mode before so it
>was
>> unfamiliar to me.† For some reason the "-lrrd" was unncessary.† I'm
>> following up with the developer to see if a source fix is in order.
>
>What is the error that you are getting? An extraneous library on the
>link line is not usually a big issue.
>
>>
>> BTW, is there a way to turn on gcc verbose mode with a MacPorts flag?
>
>You shouldn't need to.

Actually, the error was not a compile error but a runtime error in the app
after install.  I really don't know why the extra library was causing the
problem.  Maybe the developer will be able to explain.

Mark



More information about the macports-dev mailing list