[CMake] Anybody using IAR compiler here ?

Jesper Eskilson jesper.eskilson at iar.se
Thu May 27 03:54:39 EDT 2010


On 05/26/2010 10:08 PM, Alexander Neundorf wrote:
> Hi,
>
> is anybody here using an IAR compiler for AVR or ARM ?
> If so, how can I execute the assembler so that it just prints its name and
> version number and exits ?
> (i.e. the equivalent to "as --version", which gives
> "GNU assembler (Linux/GNU Binutils) 2.17.50.0.17.20070615
> Copyright 2007 Free Software Foundation, Inc.
> ...")

There is no such option. To extract the version number, you'll have to 
run the assembler without options and filter the result through some 
text-processing tool.

Same things goes for other IAR tools.

-- 
Jesper Eskilson
Developer
IAR Systems
http://www.iar.com



More information about the CMake mailing list