This is the mail archive of the gcc@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]

Linking against unused functions


I'm working with MS Visual C++ and GCC (2.95 under IRIX and
Linux).  Under Visual C++ my compilations work optimized or not.
Under Gcc, not so much.

With optimizations turned on my program compiles.  With them off
I get many "undefined references".  I'd like to compile my debug
versions with little to no optimizations.  How can I make the
linker not link against unused functions?

Thank you,

Rob Emanuele



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