This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to make trunk compile on m68k-next-nextstep3 with 3 = 3.2
I wrote:
> Of course, to completely pin this down, I do need a test case to check
> that, now that I can build recent snapshots on my NEXTSTEP 3.2 system,
> it really works as intended. Melissa, do you have a simple example
> for an exception-impaired developer ;-)
and you replied:
> Sure. I've enclosed the test case I've used to check
> exception handling... (if you compile it with
> -DCHECK_CONSTRUCTORS, it checks constructors too). If
> it crashes out (typically with ``IOT trap'' indicating
> a call to abort(), exceptions are broken. If it exits
> normally, everything appears to be fine.
This is what I get on compiling - am I doing something wrong ?
% /usr/snp/bin/g++ -v exntest.cc
Reading specs from
/usr/snp/lib/gcc-lib/m68k-next-nextstep3/egcs-2.92.11/specs
gcc version egcs-2.92.11 19981003 (gcc2 ss-980609 experimental)
/usr/snp/lib/gcc-lib/m68k-next-nextstep3/egcs-2.92.11/cpp
-lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus
-D__GNUC_MINOR__=92 -Dmc68000 -Dm68k -DNeXT -Dunix -D__MACH__
-D__BIG_ENDIAN__ -D__ARCHITECTURE__="m68k" -D_NEXT_SOURCE
-D__mc68000__ -D__m68k__ -D__NeXT__ -D__unix__ -D__MACH__
-D__BIG_ENDIAN__ -D__ARCHITECTURE__="m68k" -D_NEXT_SOURCE
-D__mc68000 -D__m68k -D__NeXT -D__unix -Asystem(unix) -Asystem(mach)
-Acpu(m68k) -Amachine(m68k) -D__EXCEPTIONS -D__STDC__
-D_NEXT_SOURCE exntest.cc /usr/tmp/ccVcK1KJ.ii
GNU CPP version egcs-2.92.11 19981003 (gcc2 ss-980609 experimental)
(68k, MIT syntax)
#include "..." search starts here:
#include <...> search starts here:
/usr/snp/lib/gcc-lib/m68k-next-nextstep3/egcs-2.92.11/../../../../include
/usr/snp/lib/gcc-lib/m68k-next-nextstep3/egcs-2.92.11/../../../../m68k-next-nextstep3/include
/usr/snp/lib/gcc-lib/m68k-next-nextstep3/egcs-2.92.11/include
/usr/snp/lib/gcc-lib/m68k-next-nextstep3/egcs-2.92.11/include/ansi
/usr/snp/lib/gcc-lib/m68k-next-nextstep3/egcs-2.92.11/include/bsd
/NextDeveloper/Headers
/NextDeveloper/Headers/ansi
/NextDeveloper/Headers/bsd
/NextDeveloper/2.0CompatibleHeaders
/usr/include
/usr/include/bsd
End of search list.
exntest.cc:13: cstdio: No such file or directory
%
Cheers,
Toon.