Hi again, I have some trouble linking to libraries shipped with the sdk. 1. There is a "c:/Symbian/9.2/S60_3rd_FP1/EPOC32/RELEASE/ARMV5/UREL/usrt2_2.lib" I have to link against. The built in Symbian make tools start the linker directly and pass usrt2_2.lib with the full path name within group "-( -)" delimiters: : arm-none-symbianelf-ld ... -( \Symbian\9.2\S60_3rd_FP1\EPOC32\RELEASE\ARMV5\UREL\usrt2_2.lib -) ... when I add c:/Symbian/9.2/S60_3rd_FP1/EPOC32/RELEASE/ARMV5/UREL to LINK_DIRECTORIES and call : TARGET_LINK_LIBRARIES( usrt2_2 ) the linker (actual gcc) returns: : C:/PROGRA~1/CSLARM~1/bin/../lib/gcc/arm-none-symbianelf/3.4.3/../../../../arm-none-symbianelf/bin/ld.exe: cannot find -lusrt2_2.lib : collect2: ld returned 1 exit status involving the linker manually and passing : arm-none-symbianelf-ld ... -LC:\Symbian\9.2\S60_3rd_FP1\Epoc32\release\armv5\urel -lusrt2_2.lib --verbose returns : attempt to open C:\Program Files\CSL Arm Toolchain\bin\..\arm-none-symbianelf\lib/libusrt2_2.lib.so failed : attempt to open C:\Program Files\CSL Arm Toolchain\bin\..\arm-none-symbianelf\lib\libusrt2_2.lib.a failed : attempt to open C:\Program Files\CSL Arm Toolchain\bin\..\lib\gcc\arm-none-symbianelf\3.4.3/libusrt2_2.lib.so failed : attempt to open C:\Program Files\CSL Arm Toolchain\bin\..\lib\gcc\arm-none-symbianelf\3.4.3\libusrt2_2.lib.a failed : attempt to open \Symbian\9.2\S60_3rd_FP1\EPOC32\RELEASE\ARMV5\UREL/libusrt2_2.lib.so failed : attempt to open \Symbian\9.2\S60_3rd_FP1\EPOC32\RELEASE\ARMV5\UREL\libusrt2_2.lib.a failed So the linker seems to recognize .lib files only when they're passed without -l and with full pathname. How do I tell the linker to look for .lib libraries?
and another one: 2. the "original" linker command produced by the Symbian make system involves .dso files: : arm-none-symbianelf-ld ... \Symbian\9.2\S60_3rd_FP1\EPOC32\RELEASE\ARMV5\LIB\libc.dso .. can this done by CMake too? Thanks, Frans ---------------------------------------------------------------- Please note: This e-mail may contain confidential information intended solely for the addressee. If you have received this e-mail in error, please do not disclose it to anyone, notify the sender promptly, and delete the message from your system. Thank you.
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
