On Friday 18 April 2008, Hendrik Sattler wrote:
> Hi,
>
> there are two small problem with Assembler support in cmake-2.6. Both
> are easily fixable:
>
> 1.
> in Modules/CMakeDetermineASMCompiler.cmake, an IF statement does not
> match its endif statement (line 33):
>    IF(NOT _CMAKE_USER_ASM_COMPILER_PATH)
> should be
>    IF(NOT _CMAKE_USER_ASM${ASM_DIALECT}_COMPILER_PATH)

Fixed in cvs.

> 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 ?

> 3.
> Currently, the best documentation for ASM support was
>    http://www.cmake.org/pipermail/cmake/2007-July/014929.html
> That information should somehow make it into the documentation.

Yes.
Maybe you can write down what you find out while getting it working ? (it's a 
wiki...)

> I hope it's not too late for 2.6.0.

And if it would be too late, it would go into 2.6.1, so nothing is lost :-)

Alex
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to