Date: Sat, 17 Mar 2001 08:59:17 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: "Michael Duxbury" Message-Id: <7263-Sat17Mar2001085917+0200-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6 CC: djgpp AT delorie DOT com In-reply-to: <98tpou$e17$1@neptunium.btinternet.com> (M DOT R DOT Duxbury AT btinternet DOT com) Subject: Re: assembler References: <98tpou$e17$1 AT neptunium DOT btinternet DOT com> 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 Precedence: bulk > From: "Michael Duxbury" > Newsgroups: comp.os.msdos.djgpp > Date: Fri, 16 Mar 2001 19:34:13 -0000 > > Does djgpp allow you to compile assembler code? Yes. Put your assembly source on a file called something.S (with a Capital S), and then compile like this: gcc -c something.S This produces something.o, an object file which you should link into a program as if it were produced form a C or C++ source. Be sure to read chapter 17 of the DJGPP FAQ for sdome of the gotchas with using assembly.