delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/07/31/21:22:28

Date: Wed, 31 Jul 2002 20:08:22 -0400
Message-Id: <200208010008.g7108MX05491@envy.delorie.com>
X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT delorie DOT com using -f
From: DJ Delorie <dj AT delorie DOT com>
To: interrupt86 AT hotmail DOT com
CC: djgpp AT delorie DOT com
In-reply-to: <kK_19.3512$nc.290471@newsread1.prod.itd.earthlink.net>
(interrupt86 AT hotmail DOT com)
Subject: Re: DGJPP COFF format
References: <kK_19.3512$nc DOT 290471 AT newsread1 DOT prod DOT itd DOT earthlink DOT net>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> 1. How to generate .o (COFF) files with the DJGPP compiler?

gcc -c foo.c

> 2. Is it possible to link .c and .o files in the same command line e.g.:
> gcc -s -o program.exe prog.c cof1.o cof2.o

Yes.  (you could have just tried it)

- Raw text -


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