Mail Archives: djgpp/1999/01/23/09:45:45
lmc83 (lmc83 AT cs DOT ccu DOT edu DOT tw) wrote:
: Hello,
: when I linking my program, the linker displays "undefined reference
: to ...",
: but I can sure that the function is really exist in some place. It seems
: that
: DJGPP is a one pass compiler, so that the function referenced by other
I don't think gcc is a one pass compiler, however ...
: must
: be put from behind, but if some library reference with each other, how
... the linker (ld) is.
: to
: deal with it? this problem have keep annoying me very long since the
If liba.a and ligb.a is intertvined like this just give "-la -lb -la"
to the linker. But ...
: module is not always could split clearly, and when this problem appear,
... if this is the case then I don't think the code ought to be split
- seems like a design problem.
Genesis, A Trick of the Tail,
MartinS
- Raw text -