delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/31/20:01:05

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Compiling .C files
Date: Wed, 31 Dec 1997 16:30:09 -0800
Organization: Alcyone Systems
Lines: 19
Message-ID: <34AAE391.7F773C7D@alcyone.com>
References: <m0xmdBd-000S2YC AT inti DOT gov DOT ar>
NNTP-Posting-Host: newton.alcyone.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Salvador Eduardo Tropea (SET) 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?
>
> Use -c in the options.

No, _don't_ use -c in the options.  -c means compile only and don't
attempt the linking phase.

-- 
         Erik Max Francis, &tSftDotIotE / mailto:max AT alcyone DOT com
                       Alcyone Systems / http://www.alcyone.com/max/
  San Jose, California, United States / icbm://+37.20.07/-121.53.38
                                     \
                       "Life may be / the product of imperfections."
                                   / (Marclo Gleiser)

- Raw text -


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