flat assembler
Message board for the users of flat assembler.

Index > Linux > Cross-platform ASM

Goto page Previous  1, 2
Author
Thread Post new topic Reply to topic
Randall Hyde



Joined: 03 Dec 2003
Posts: 57
Randall Hyde
ronware wrote:
I am interested in writing code which will compile for Windows as well as Linux.

Does anyone have experience doing this with FASM? Any hints appreciated.


Well, HLA (High-Level Assembler) programs do this naturally Smile

The good news is that this is achieved via the HLA Standard Library and not via something that is particular to the HLA assembler. And the even better news is that the HLA Standard Library has been "ported" for use by FASM users (see http://webster.cs.ucr.edu). In theory, you could write a FASM program under Windows that links in the HLA Standard Library routines you need and then carry that program over to Linux, reassemble it over there and link with the Linux version of the HLA Standard Library and, voila, you're in business.

The only catch to this whole theory is that the FASM include files for the HLA Standard Library need to be ported over to Linux (there are, undoubtely, some minor changes that will need to be made).
Cheers,
Randy Hyde
Post 16 Jan 2004, 18:11
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.