Page 2 of 2

Re: Debian Repository for Cross-Compilers

Posted: Wed Apr 28, 2010 5:26 pm
by chase
NickJohnson wrote:I'm not so sure about whether to choose x86 gas over nasm and similar, just because I personally, and as far as I can tell, quite a few others, don't like the AT&T syntax it uses. Maybe if we use gas, but exclusively with Intel syntax (which is supported in versions 2.10+)? I'm fine with using gcc as "the" compiler, but we should definitely stick to c99 and try to avoid GNU extensions, just for portability.
Yeah, I wouldn't have suggested gas if it only supported at&t syntax still. Everything would be intel syntax.

Re: Debian Repository for Cross-Compilers

Posted: Wed Apr 28, 2010 6:56 pm
by pcmattman
I'm not so sure about whether to choose x86 gas over nasm and similar, just because I personally, and as far as I can tell, quite a few others, don't like the AT&T syntax it uses. Maybe if we use gas, but exclusively with Intel syntax (which is supported in versions 2.10+)? I'm fine with using gcc as "the" compiler, but we should definitely stick to c99 and try to avoid GNU extensions, just for portability.
It's easy to just not use the provided AS, but it is a core part of GCC. If someone wishes to use NASM in their project, they simply set up their build system to use NASM.

Also, nasm doesn't have the same number of problems when using a host's nasm build as GCC does.