Ummm

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Wed Apr 5 17:05:00 GMT 2000


> This CODE NOT PRODUCE the SAME SHARED FILE !!!
> If I compile with gcc it works well, but if I use egcs, load FAIL!!
> 
> PLEASE can you say how solve the problem ???

You did not explain what exactly the error was that you got, but I
guess it was

/usr/bin/ld: cannot find -lg++

If so, there is an easy solution: Remove -lg++ from the makefile, and
it will link.

libg++ is an old and rarely-needed library, which is not included in
egcs or gcc 2.95 anymore. Unless you really need it (and you know
exactly *why* you need it), I suggest to forget about it.

Regards,
Martin



More information about the Gcc-bugs mailing list