Mail Archives: djgpp/1996/06/23/03:58:05
On 21 Jun 1996, Paul Fox wrote:
> 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,
Read section 17.3 of the DJGPP FAQ list (v2/faq200b.zip from the same
place you get DJGPP). It describes 2 such tools.
>
> b) use a .obj (generated under DOS) directly with ld.
This is usually a bad idea (can you mix .obj files from, say, BC and MSC
and hope this to work?), but section 17.5 of the FAQ tells you what
options do you have if you decide to give it a try anyway.
> 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.
A tip: always search the FAQ first, especially if you value your
evenings ;-).
- Raw text -