From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Stef" To: help-gcc@gnu.org Subject: GCC and Windows 98 Date: Fri, 01 Oct 1999 00:00:00 -0000 Message-ID: <7qovlu$j55$1@news7.svr.pol.co.uk> X-SW-Source: 1999-q3/msg00423.html Message-ID: <19991001000000.lsPoS4NzLEy0it1NP-uXWfBZoBceQ5VAR2ibLdnCX48@z> I have installed the GNU toolkit onto my PC and am unable to compile even the basic demo program. The error message that is received is as follows: ################################ C:\Program Files\hitachi\GNU\DEMO>make gcc -O -g -S hello.c Stack Fault at eip=107399 eax=00000000 ebx=00000000 ecx=00000000 edx=00000000 esi=00000000 edi=00000000 ebp=00000000 esp=00166c48 cs=177 ds=16f es=16f fs=16f gs=187 ss=17f cr2=00006fe3 Call frame traceback EIPs: 0x00107399 make.exe: *** [hello.s] Error 1 ################################ The hello.c file is as follows: ################################ void __main(){} void exit() { while(1); } main() { return 0; } ################################ I am running MS Windows 98 and the version of the GCC.EXE is 2.7-97r1a. I have tried runing the command "gcc hello.c" with just the default settings, changing the FILES in the CONFIG.SYS file, tried different folder locations (to prevent any DOS 8.3 problems) all returning the same STACK FAULT error. Any thoughts? Thanks in advance, Stef