News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Compiler that works in Ubuntu ?

Started by Magnum, December 04, 2012, 09:13:57 AM

Previous topic - Next topic

anta40

Quote from: MichaelW on December 05, 2012, 03:51:50 PM
Why no mention of the GNU assembler?

Probably because gas is intended to be feed from compiler output?
I read this somewhere else, can't remember the exact source though.

Of course, nobody stop you from using gas.

MichaelW

Quote from: anta40 on December 05, 2012, 07:09:02 PM
Probably because gas is intended to be feed from compiler output?

It was, with the AT&T syntax, but GAS has for a long time supported an Intel syntax, that at least for the Windows versions is based on a MASM 6.0 grammar, so the syntax is very similar to MASM (although there is no high-level syntax). Unfortunately, the macro system is not at all similar and weak by comparison.
Well Microsoft, here's another nice mess you've gotten us into.

Gunther

Quote from: MichaelW on December 05, 2012, 07:37:29 PM
It was, with the AT&T syntax, but GAS has for a long time supported an Intel syntax, that at least for the Windows versions is based on a MASM 6.0 grammar, so the syntax is very similar to MASM (although there is no high-level syntax). Unfortunately, the macro system is not at all similar and weak by comparison.

Yes. GAS makes a good job and you've the specific assembly language feeling of the older days. I've seen some code, made by Intel, using GAS.

Gunther
You have to know the facts before you can distort them.