delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/21/21:52:27

Xref: news2.mv.net alt.sources.wanted:2354 comp.os.msdos.djgpp:5259 comp.sources.wanted:5098
From: pgf AT american DOT com (Paul Fox)
Newsgroups: alt.sources.wanted,comp.sources.wanted,comp.os.msdos.djgpp
Subject: ASM to as or .obj to .o conversion?
Date: 21 Jun 1996 18:49:14 GMT
Organization: American Internet Corporation
Lines: 21
Message-ID: <4qeqra$bi7@news1.wing.net>
NNTP-Posting-Host: longfellow.american.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

hi -- i have a largish (several thousand lines!  :-/ ) routine written in
Intel style assembler (or DOS style, or MASM style, whatever you want to
call it).  i need to port the code (which is quite portable, other than
syntax) to linux.  so i need to either:

	a) convert the ASM-style code to as/gas style syntax, or
	   alternatively,

	b) use a .obj (generated under DOS) directly with ld.

does anyone know of a tool to do either of these?  i'm sure that with
a few evenings and a generous dose of perl/awk/sed/whatever i can
convert the asm to as code, but i value my evenings...  :-)

any tips/pointers appreciated.

paul
-- 
---------------------
    paul fox                            american internet corporation
    pgf AT american DOT com			(home: pgf AT foxharp DOT boston DOT ma DOT us)

- Raw text -


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