delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/06/06/06:47:25

Date: Tue, 6 Jun 1995 12:27:19 +0300
From: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii)
To: teney931 AT cs DOT uidaho DOT edu, r DOT grunwald AT cowan DOT edu DOT au
Subject: Re: Gnu Assembler Question
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu

> > 2)  I don't suppose that there is a converter for Intel format to GAS 
> > format, is there?
>
> I have actually been working on such a piece of software for some 
> time now. Currently I am roughly through developing about half of it, 
> and it seems to be working pretty well so far. Mind you it only does 
> simple translations at the moment.

Please consider contributing this software to DJGPP users when you're
done.  The DJGPP FAQ list asks for this explicitly:
 
17.2  Q: Where can I find an automated conversion tool to convert my
         Intel-style assembly code into a code acceptable by Gas?
      A: Unfortunately, such a tool is unknown to us; if you see one, hear
         about one, or write one yourself, be sure to tell us.  In the
         meantime, here is what you can do to convert your code:
 
           * For a small number of relatively short files, consider
             converting them with a smart editor (like Emacs or its
             work-alikes).
 
           * Obtain a copy of Microsoft MASM 6.11. It has ``-coff'' option
             to generate object code in COFF format which can be submitted
             to gcc, so you can compile your original source.  You can
             also use LIB32 librarian from Microsoft C8 to convert object
             files to COFF by putting them into a .lib library, then
             extracting them as COFF files.
 
         Keep in mind that syntax is only one of the aspects of converting
         code written for DOS to DJGPP.  You should also make sure your
         code doesn't violate any rules for protected-mode programming
         (next question).
 

- Raw text -


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