delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/08/23:32:16

From: John Richter <John DOT Richter AT yale DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Can't get djgpp to work at all
Date: Mon, 05 May 1997 13:15:58 -0400
Organization: Yale University
Lines: 20
Message-ID: <336E15CE.3BBF@yale.edu>
NNTP-Posting-Host: net176-214.student.yale.edu
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I recently installed DJGPP (the EZ-GCC version) on my Cyrix based Win95
machine and everything seems to be fine. GCC reports any errors finding
files, problems with the source, etc. and generates the exe file I
specify. However, every time I try to run the compiled program (from a
DOS box or in straight DOS mode), a fatal exception is generated or my
machine simply locks up. The file I am trying to compile consists simply
of

#include <stdio.h>

main()
{
printf("Hello world\");
}

and my command line is:

gcc -o junk.exe junk.c

When I run junk.exe, my machine locks up. What's wrong here?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019