Re: [CMake] assembler with non standard extension with gcc compiler

2013-11-01 Thread Alexander Neundorf
On Thursday 31 October 2013, Ivan Sergio Borgonovo wrote: > On Thu, 31 Oct 2013 21:17:11 +0100 > > Alexander Neundorf wrote: > > On Thursday 31 October 2013, Ivan Sergio Borgonovo wrote: > > > On Thu, 31 Oct 2013 18:01:29 +0100 > > > > > > Alexander Neundorf wrote: > > > > Did you try setting t

Re: [CMake] assembler with non standard extension with gcc compiler

2013-10-31 Thread Ivan Sergio Borgonovo
On Thu, 31 Oct 2013 22:08:27 +0100 Ivan Sergio Borgonovo wrote: [snip] > The only difference I can spot is that others contains global symbols > that are referenced in C files[1] or in the linker options[2] while > the only one that doesn't get compiled and linked contains symbols > that are ref

Re: [CMake] assembler with non standard extension with gcc compiler

2013-10-31 Thread Ivan Sergio Borgonovo
On Thu, 31 Oct 2013 21:17:11 +0100 Alexander Neundorf wrote: > On Thursday 31 October 2013, Ivan Sergio Borgonovo wrote: > > On Thu, 31 Oct 2013 18:01:29 +0100 > > > > Alexander Neundorf wrote: > > > Did you try setting the source file property "LANGUAGE" to "ASM" > > > for these files ? > > >

Re: [CMake] assembler with non standard extension with gcc compiler

2013-10-31 Thread Alexander Neundorf
On Thursday 31 October 2013, Ivan Sergio Borgonovo wrote: > On Thu, 31 Oct 2013 18:01:29 +0100 > > Alexander Neundorf wrote: > > Did you try setting the source file property "LANGUAGE" to "ASM" for > > these files ? > > http://www.cmake.org/cmake/help/v2.8.12/cmake.html#prop_sf:LANGUAGE > > Than

Re: [CMake] assembler with non standard extension with gcc compiler

2013-10-31 Thread Ivan Sergio Borgonovo
On Thu, 31 Oct 2013 18:01:29 +0100 Alexander Neundorf wrote: > Did you try setting the source file property "LANGUAGE" to "ASM" for > these files ? > http://www.cmake.org/cmake/help/v2.8.12/cmake.html#prop_sf:LANGUAGE Thanks, that made the trick but I ran into another problem: One of those asm

Re: [CMake] assembler with non standard extension with gcc compiler

2013-10-31 Thread Alexander Neundorf
On Thursday 31 October 2013, Ivan Sergio Borgonovo wrote: > Hi, > > I'm cross compiling (avr32) with a gcc compiler under Linux and I'm > using a framework where asm extensions aren't directly recognized by > cmake (.x). > > gcc is recognized as a valid C and ASM compiler during cmake > configura

[CMake] assembler with non standard extension with gcc compiler

2013-10-30 Thread Ivan Sergio Borgonovo
Hi, I'm cross compiling (avr32) with a gcc compiler under Linux and I'm using a framework where asm extensions aren't directly recognized by cmake (.x). gcc is recognized as a valid C and ASM compiler during cmake configuration. But still I see cmake running just ar and ranlib on nothing. gcc is