Hi everybody,
we have a weird problem here, we want to do a cross compile for QNX on a Win XP System, using the standard QNX supplied toolchain. So I grabbed a toolchain file from the mailing list archive and adapted it to my settings (see attachment). running cmake -DCMAKE_TOOLCHAIN_FILE=c:\Toolchain-qnx-640-armle.cmake -G "Unix Makefiles" . I get an error (see below). Can anybody tell me whats wrong here? I could find out, that while trying to check the compiler cmake calls itself again to compile a simple test program and within this recursion magically an option --out-implib appears on the linker command line which avoids a successful build. Any help appreciated! Regards Stefan This is error message: -------------------------- cd c:\VHAPI_400\demo\ cmake -DCMAKE_TOOLCHAIN_FILE=c:\Toolchain-qnx-640-armle.cmake -G "Unix Makefiles" . -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: C:/QNX641/host/win32/x86/usr/bin/qcc.exe CMake Internal Error (please report a bug) in C:/VHAPI_400/demo/CMakeFiles/CMakeTmp/CMakeLists.txt: implib set for platform that does not support DLL's for target: cmTryCompileExec CMake Internal Error (please report a bug) in C:/VHAPI_400/demo/CMakeFiles/CMakeTmp/CMakeLists.txt: implib set for platform that does not support DLL's for target: cmTryCompileExec CMake Error: Internal CMake error, TryCompile generation of cmake failed -- Check for working C compiler: C:/QNX641/host/win32/x86/usr/bin/qcc.exe -- broken CMake Error at C:/Program Files/CMake 2.6/share/cmake-2.6/Modules/CMakeTestCCompiler.cmake:32 (MESSAGE): The C compiler "C:/QNX641/host/win32/x86/usr/bin/qcc.exe" is not able to compile a simple test program. It fails with the following output: CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:2 (project) -- Configuring incomplete, errors occurred! Compilation exited abnormally with code 1 at Fri Oct 02 14:29:24 ----------------
Toolchain-qnx-640-armle.cmake
Description: Binary data
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake