[CMake] ASM problem with cmake-2.6
Hendrik Sattler
post at hendrik-sattler.de
Tue Apr 22 02:14:37 EDT 2008
Zitat von Alexander Neundorf <a.neundorf-work at gmx.net>:
>> 2.
>> When using gcc, the compile flag "-c" is missing when creating a .S.o
>> object file, thus it always fails.
> /usr/bin/as -o
> <path>/main-linux-x86-gas.s.o /<path>/Tests/Assembler/main-linux-x86-gas.s
>
> It doesn't need a -c here.
> Are you using gcc or as/gas as assembler ?
This one uses a gcc cross compiler. It complains about "undefined
reference to 'main'".fg
There is also a entry in the BTS for this.
HS
More information about the CMake
mailing list