www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/25/02:33:06

Date: Sat, 25 Nov 2000 09:28:35 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: "Fairbairn Family" <lgcl01 AT es DOT co DOT nz>
Message-Id: <7458-Sat25Nov2000092834+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: <8vn57g$rol$1@lust.ihug.co.nz> (lgcl01@es.co.nz)
Subject: Re: Using AS (GAS) to produce COM files - is it possible?
References: <8vn57g$rol$1 AT lust DOT ihug DOT co DOT nz>
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

> From: "Fairbairn Family" <lgcl01 AT es DOT co DOT nz>
> Newsgroups: comp.os.msdos.djgpp
> Date: Sat, 25 Nov 2000 14:31:56 +1300
> 
> I use AS as an assembler for Linux, and I am now creating a port of my
> program to DOS and need to assemble some asm code into a MSDOS Com file. All
> I can figure out is how to output into coff/a.out formats.

The DJGPP port of Gas and ld do not support .com format.  You might be
able to do something with the bin format, but I'm not sure.

Why do you need a .com program?  Won't a .exe program do what you want?

- Raw text -


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