3.3 g++ standard libraries

Ryan Pipkin ryan.pipkin@inet.com
Fri Apr 2 14:52:00 GMT 2004


When I build 3.3.1 or 3.3.3 I seem to be missing standard libraries 
(-lstdc++ and -lm) in g++.

I use g++ -v to determine the libraries being included.

3.3.1 & 3.3.3
-lgcc -lgcc_eh -lc -lgcc -lgcc_eh

3.2.1
-lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc


Common Configuration
--prefix=/opt/gcc/x86-3.2.1-linux --program-prefix=x86-linux- 
--enable-languages=c,c++ --with-gnu-as --with-gnu-ld
--prefix=/opt/gcc/x86-3.3.1-linux --program-prefix=x86-linux- 
--enable-languages=c,c++ --with-gnu-as --with-gnu-ld
--prefix=/opt/gcc/x86-3.3.3-linux --program-prefix=x86-linux- 
--enable-languages=c,c++ --with-gnu-as --with-gnu-ld

What am I doing wrong?

    Thanks.
    Ryan.



------------------------------------------------------------------------
Confidentiality Notice:   This e-mail transmission may contain
confidential and/or privileged information that is intended only for the
individual or entity named in the e-mail address. If you are not the
intended recipient, you are hereby notified that any disclosure,
copying, distribution or reliance upon the contents of this e-mail
message is strictly prohibited. If you have received this e-mail
transmission in error, please reply to the sender, so that proper
delivery can be arranged, and please delete the message from your
computer.  Thank you.
Inet Technologies, Inc.
------------------------------------------------------------------------



More information about the Gcc-help mailing list