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]

Re: C++ compiler doesn't work


Hi Robert,

Thanks for your reply.
> > I downloaded the gcc 2.95.2 pl1 for Sco 5. and install it sucessfully.
> > ( just did an unzip & tar ).
>
> Was this a binary kit you got from somewhere?
Yeah, I download from Sco site.
http://www.sco.com/skunkware/osr5/devtools/gcc/
>
> > checking whether the C++ compiler (g++  -s) works... no
> > configure: error: installation or configuration problem: C++ compiler
cannot
> > create executables.
>
> Look in config.log and see what the error is.
The error is as follows:

configure:1302: checking whether the C++ compiler (g++  -s) works
configure:1316: g++ -o conftest   -s conftest.C  1>&5
 fatal error: library not found: -lstdc++
collect2: ld returned 1 exit status
configure: failed program was:
#line 1312 "configure"
#include "confdefs.h"
main(){return(0);}

Thanks, I see the error. Does it mean I will need to download the libstdc++
library or there is something wrong in my gcc config ?

Thanks,

Vu Pham



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