public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Stef" <stef@email.address>
To: help-gcc@gnu.org
Subject: GCC and Windows 98
Date: Thu, 30 Sep 1999 23:56:00 -0000	[thread overview]
Message-ID: <7qovlu$j55$1@news7.svr.pol.co.uk> (raw)
Message-ID: <19990930235600.-SU4iztNzC_TDJMsVIuWH_eKeZczKNAZI38jw7mnNlM@z> (raw)

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


             reply	other threads:[~1999-09-30 23:56 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-03 10:17 Stef [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='7qovlu$j55$1@news7.svr.pol.co.uk' \
    --to=stef@email.address \
    --cc=help-gcc@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).