Re: GNU AS and multiplatform example ...



spamtrap@xxxxxxxxxx wrote:

Please can someone help me find or make me a simple example of a
'hello world' using GNU ASsembler that runs on both Linux and Windows ?

What you ask is impossible. The low-level interfaces to the two operating
systems are vastly different.

Now, if you allow yourself the luxury of using the C run-time library, so
that your entry point is "main" and you call "printf" to do the work, then
it is certainly possible. However, many would call that cheating.
--
- Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.

.



Relevant Pages