www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/02/16/20:09:17

Date: Thu, 17 Feb 94 10:16:15 CST
From: michaels AT vsl DOT com DOT AU (Michael Snoswell)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Can I use .ASM files with gas

> > A little while back I asked on THE NET (comp.sys.ibm-pc.programmer or
> > something) about linking with .obj files.  Basically I got a resounding no,
> > with one exception.  Someone mentioned hearing about both a dissasembler to
> > transform .obj file to .s files that gas could work with and an awk script
> > that changed tasm format assembly to gas format.
> > 
> > Do either of these really exist, and if so where?  
> 
> I suggested on this list the possibility of using a string processing
> language such as awk or perl to write a tasm-to-gas converter, but I don't
> know that anyone has actually done it.
> 

I think the best answer was to use the disassembler that comes with Watcom as
this will read a obj file and produce a sysv format text file that then needs
only minor editing (with sed/gawk) to be assembled by gas.

Michael Snoswell

- Raw text -


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