www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/07/25/23:57:24

Date: Sun, 25 Jul 93 20:24:38 PDT
From: stevev AT miser DOT uoregon DOT edu (Steve VanDevender)
To: Michael S Shipman <shipmanm AT cs DOT arizona DOT edu>
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: problem: C compiler for msdos.

Michael S Shipman writes:
 > 
 > I was ask to talk to you by "djgpp-request AT sun DOT soe DOT clarkson DOT edu".
 > 
 > for msdos.  ( through ftp)   The problem is how can I compile?
 > 
 > for example.   gcc filename -o file.exe
 > 
 > it won't work.
 > 
 > thank you.

Try:

gcc filename.c -o file
go32 file

Because of my UNIX habits I have never tried to leave off the
extension of the .c file; however, I suspect that DJGPP will try
to read the filename you give it without automatically adding the
.c.

You also can't create a standalone executable using just GCC.
Use GO32 to run the executable image created, or use aout2exe to
make the image into a standalone executable.

- Raw text -


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