This is the mail archive of the gcc-help@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]
Other format: [Raw text]

Re: Exception-Catching with gcc 4.x does not work on SunOS SPARC


On 06/10/2015 14:26, Matthias Apitz wrote:

> /usr/local/gcc-492/bin/gcc -o work work.C -L/usr/local/gcc-492/lib -lstdc++

(I'm just a random user, take my suggestions with a grain of salt.)

Does it change anything if you invoke g++ instead of gcc?

It seems odd that you would need to specify -lstdc++ or -L/usr/local/gcc-492/lib

Regards.


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