Date: Sun, 11 Apr 1999 14:37:33 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Luiz Fernando cc: djgpp AT delorie DOT com Subject: Re: Another newbie question... In-Reply-To: <01be8394$c0c83fa0$LocalHost@aguia> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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.