This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Exception-Catching with gcc 4.x does not work on SunOS SPARC
- From: Mason <mpeg dot blue at free dot fr>
- To: GCC help <gcc-help at gcc dot gnu dot org>
- Cc: Matthias Apitz <guru at unixarea dot de>
- Date: Tue, 6 Oct 2015 15:20:14 +0200
- Subject: Re: Exception-Catching with gcc 4.x does not work on SunOS SPARC
- Authentication-results: sourceware.org; auth=none
- References: <20151006122640 dot GA4316 at c720-r276659>
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.