public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* GCC and Windows 98
@ 1999-09-03 10:17 Stef
  1999-09-06  1:22 ` Patrick Block
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Stef @ 1999-09-03 10:17 UTC (permalink / raw)
  To: help-gcc

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


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~1999-10-01  0:00 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-09-03 10:17 GCC and Windows 98 Stef
1999-09-06  1:22 ` Patrick Block
1999-09-30 23:56   ` Patrick Block
1999-10-01  0:00   ` Patrick Block
1999-09-06  2:10 ` Martin Kahlert
1999-09-06 10:05   ` Stef
1999-09-13  1:39     ` Kai Ruottu
1999-09-30 23:56       ` Kai Ruottu
1999-10-01  0:00       ` Kai Ruottu
1999-09-30 23:56     ` Stef
1999-10-01  0:00     ` Stef
1999-09-30 23:56   ` Martin Kahlert
1999-10-01  0:00   ` Martin Kahlert
1999-09-30 23:56 ` Stef
1999-10-01  0:00 ` Stef

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).