i've just installed egcs-1.1.1 and when i tried compiling something that
uses C++ i get this:

Compiling Common/memory.cpp
Compiling Common/link.cpp
Building dynamic library (libclancommon.so)
ld: cannot open -lgcc: No such file or directory
make: *** [libclancommon.so] Error 1

I did remember to build the c++ part of GCC.
I set the prefix to /usr because that's where the old version of egcs lives
so i figured it should go there too.

bigbird:/downloads/ClanLib# ls /usr/lib/gcc-lib/i586-pc-linux-gnulibc1/
egcs-2.90.29/  egcs-2.91.60/

typing gcc -v gives this:

Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.91.60/specs
gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)

which is right. I tried compiling some other C++ program and it's autoconf
script complained that g++ couldn't create executables.

To build & install egcs i did:

tar -zxvf egcs-tarfile
mkdir srcdir
cd srcdir
../egs-srcdir/configure
make bootstrap
make install

so is it my installation that's wrong or can't people code C++ properly?
Is there some standard test program i can compile to check it's all installed
properly.

-- 
+++      The program isn't debugged until the last user is dead.     +++
[EMAIL PROTECTED]         http://www.penguinpowered.com/~a_out

Reply via email to