Tech Journal Back to Tech Journal

Why does GCC keep complaining it cannot link something when it's obviously in the same link command?

Link order in GCC - it's not what you expect. You put things that are used to the RIGHT (i.e. AFTER) what uses them.

See also: http://www.network-theory.co.uk/docs/gccintro/gccintro_18.html

Last updated on 2007-05-06 06:44:46 -0700, by Shalom Craimer

Back to Tech Journal