Hi Vincent, Your libdl library issue sounds like a possible sysroot problem. When you made binutils for your cross toolchain what did you specify as your sysroot? The easiest way to see where the linker is looking for libraries is to pass an option to the linker to output verbose debugging information. It will show you exactly what paths it searches for link libraries. Create a simple test.c file and do the following: arm-none-symbianelf-gcc -Wl,--verbose -o test test.c Hope that helps, Gary On 6/21/09 2:57 AM, "Vincent R." <forumer@xxxxxxxxxxxxxxx> wrote: > On Sun, 21 Jun 2009 10:24:54 +0200, "Vincent R." <forumer@xxxxxxxxxxxxxxx> > wrote: >> On Sun, 21 Jun 2009 10:21:48 +0200, "Vincent R." > <forumer@xxxxxxxxxxxxxxx> >> wrote: >>> Hi, >>> >>> I would like to port an application to symbian platform and first I try >> to >>> compile a simple exe from an empty main : >>> >>> >>> $ arm-none-symbianelf-gcc.exe -O2 -fno-unit-at-a-time >> -Wno-unknown-pragmas >>> -fexceptions -march=armv5t -mapcs -pipe -nostdinc -c -msoft-float >> -DNDEBUG >>> -D_UNICODE -D__GCCE__ -D__SYMBIAN32__ -D__SERIES60_31__ > -D__SERIES60_3X__ >>> -D__GCCE__ -D__EPOC32__ -D__MARM__ -D__EABI__ -D__MARM_ARMV5__ -D__EXE__ >>> -D__SUPPORT_CPP_EXCEPTIONS__ -D__MARM_ARMV5__ -Wl,-s conftest.c >>> arm-none-symbianelf-gcc.exe: -s: linker input file unused because > linking >>> not done >>> >>> I don't understand the error message, could someone explain it. >>> >>> Thanks >> >> Hum I found my error ... > > But I got a new one now, I am using cygwin to test it because Symbian > toolchain has been release for windows and > I would like to test a simple binary using dlopen : > > $ arm-none-symbianelf-gcc -v -o conftest > -I/c/gynoid/sdks/symbian/Nokia_N97_SDK_v0.5/epoc32/include > -I/c/gynoid/sdks/symbian/Nokia_N97_SDK_v0.5/epoc32/include/gcce > -I/c/gynoid/sdks/symbian/Nokia_N97_SDK_v0.5/epoc32/include/stdapis > -D__GCCE__ -D__SYMBIAN32__ -D__EPOC32__ -D__MARM__ > -L/c/gynoid/sdks/symbian/Nokia_N97_SDK_v0.5/epoc32/release/armv5/lib > -L/c/gynoid/toolchains/arm-symbianelf/bin/lib -Wl,-s -ldl conftest.c > > C:/gynoid/toolchains/arm-symbianelf/bin/../lib/gcc/arm-none-symbianelf/3.4.3/. > ./../../../arm-none-symbianelf/bin/ld.exe: > cannot find -ldl > > But libdl is available in > /c/gynoid/sdks/symbian/Nokia_N97_SDK_v0.5/epoc32/release/armv5/lib and I > have added its path to command line, so how can I investigate why > linker cannot find it ? > Gary Carlson Gary Carlson, MSEE Principal Engineer Carlson-Minot Inc.