cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/11/07:39:38

Date: Sun, 11 Apr 1999 14:37:33 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Luiz Fernando <luisoft AT myway DOT com DOT br>
cc: djgpp AT delorie DOT com
Subject: Re: Another newbie question...
In-Reply-To: <01be8394$c0c83fa0$LocalHost@aguia>
Message-ID: <Pine.SUN.3.91.990411143647.28502k-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sat, 10 Apr 1999, Luiz Fernando wrote:

>     How can i compile an external assembler file with RHIDE and DJGPP. I
> have some files in my project (*.c) and one in an external asm file (*.s) .
> How can i compile it using RHIDE.
>     And how can i compile it using gcc command in prompt of DOS.

From the command line, simply invoke GCC as if it were a C file:

	 gcc -c foo.S

This produces foo.o.  Note the Capital .S: it is safer if your
assembly source includes comments and preprocessor directives.  See
section 8.4 of the FAQ for more info on how does GCC recognize the
source language.

As for RHIDE, I'd guess that it will also compile such files
automatically.  But I don't use RHIDE, so I might be wrong.

- Raw text -


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