This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: undefined references when i try to link a .cc file which contains classes


Hi Reinhard,

 The linker only processes objects/libs once and in the
order given on the commandline. and only objects resolving
unresolved references will be picked up possibly giving
rise to other unresolved references. You should put the
libs to link with at the end of the command line and in
proper order.

Yours sincerely,

Bjorn


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]