linking for dummies

Peter O'Gorman peter at pogma.com
Fri Feb 15 13:11:02 PST 2008


markd at macports.org wrote:
> I have an app where
> 
> "-lgcc_s.10.5 -lgcc -lSystem"
> 
> is getting appended at the end of the stuff getting linked, and I can't
> figure out where this is coming from.  It appears to me that gcc is doing
> it on its own.   Instead of the linker item "-lrrd" normally appearing at
> the end, instead I see it in the middle like this:
> 
> "-lrrd -lgcc_s.10.5 -lgcc -lSystem"
> 
> and I'm told that is a problem.  But I can't for the life of me see the
> Makefile doing anything that would cause this.  Does anyone know how this
> extra stuff gets added on, or how to make "-lrrd" go on the end of the
> linker line?

The compiler appends these, you do not normally want it not to. Are you
 seeing errors because of this?

Peter
-- 
Peter O'Gorman
http://pogma.com


More information about the macports-dev mailing list