Mail Archives: djgpp/1995/01/30/15:32:38
Dear Programmers,
Again I would like some little advice from you.
I tried to install the g++ version properly and tried to
compile a litte c++ file.
I used the command line "gcc (g++ works only on Sparcs ?) -v fcube.cpp
-ofcube".
The result was a General Protection Fault and a screen dump thereof is in the file I append.
I also used SET_INCLUDE_ etc etc..
could anyone help ?
thank you olivar maoba
D:\SRC\CAPPER\FIVE>gcc -g -v ftotal_c.cpp -ototcube
Reading specs from d:/djgpp/lib/specs
gcc version 2.6.0
d:/djgpp/bin/cpp.exe -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplu
s -D__GNUC_MINOR__=6 -Dunix -Di386 -DGO32 -DMSDOS -D__unix__ -D__i386__ -D__GO32
__ -D__MSDOS__ -D__unix -D__i386 -D__GO32 -D__MSDOS -g ftotal_c.cpp d:/tmp/cc009
183
GNU CPP version 2.6.0 (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
d:/djgpp/cplusinc
d:/djgpp/cplusinc
d:/djgpp/include
/usr/local/lib/g++-include
/usr/local/include
/usr/local/go32/include
/usr/local/lib/gcc-lib/go32/2.6.0/include
/usr/include
End of search list.
d:/djgpp/bin/cc1plus.exe d:/tmp/cc009183 -quiet -dumpbase ftotal_c.cc -g -versi
on -o d:/tmp/cca09183
GNU C++ version 2.6.0 (80386, BSD syntax) compiled by GNU C version 2.6.0.
General Protection Fault at eip=bd3f
eax=8caed505 ebx=001d4468 ecx=001d0854 edx=001c2021 esi=00000001 edi=001cab28
ebp=001aab34 esp=001aab04 cs=137 ds=12f es=12f fs=12f gs=147 ss=13f cr2=0000afe4
Call frame traceback EIPs:
0x0000bd3f
0x0014bacd
0x0000ac2d
0x00073050
0x0007839b
- Raw text -