[CMake] Assembly language support using gcc or gas

Alexander Neundorf a.neundorf-work at gmx.net
Tue Aug 2 16:08:38 EDT 2011


Hi,

On Tuesday 02 August 2011, Glenn Coombs wrote:
> Previously with cmake 2.8.4 we were using these lines to compile an

with 2.8.5 there was a major rework of the assembler support (and now it 
finally does not say "Assembler support is experimental" anymore).
Sorry that this causes inconvenience for you.

If you enable "ASM", you get support for assembler via your C/C++ compiler.
That's why you get gcc now instead of as.
If the C/C++ compiler does not support processing assembler files, this 
language can't be enabled.

If you need a "real" assembler, you have to enable the respective assembler 
"dialect". E.g. to get as/gas, you need to enable "ASM-ATT".
This should work with both versions.

Let me know if this doesn't work for you.

Alex


More information about the CMake mailing list