delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/29/14:30:29

From: jah AT rrnet DOT com (Hjelmo)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Compiling .C files
Date: 29 Dec 1997 19:07:53 GMT
Organization: Red River Net - Internet Communications (phone: 701-232-2227)
Lines: 7
Message-ID: <688se9$rkf$1@news.rrnet.com>
References: <MPG DOT f119de9997d7343989681 AT news>
NNTP-Posting-Host: rrnet.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Matt Riker (SPAMGUARDriker AT pipcom DOT com) wrote:
: Usually when I compile .C files, DJGPP makes an executable.  But today I 
: tried to compile, and DJGPP only made an .O file.  Does anyone know why?

You need a -o...  gcc -o <output.exe> <input.c> <input1.c> etc...

atomly AT mindless DOT com :: [pHiXx/VorteX] :: phixx AT usa DOT net

- Raw text -


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