Re: [fpc-pascal] Re: Linking Problems while cross compiling for arm

2009-12-08 Thread Jonas Maebe
On 08 Dec 2009, at 13:24, Hartmut Eilers wrote: No I haven't done that, but I will do, can you give me a hint what I should try to crosscompile? A "hello world" program compiled using something like arm-unknown-linux-uclib-gcc -o hello hello.c -ldl is enough. And it will probably fail wit

[fpc-pascal] Re: Linking Problems while cross compiling for arm

2009-12-08 Thread Hartmut Eilers
Hallo, >> The toolchain I use is from free electron an embedded company which >> uses this toolchain to build kernels for the USB9263. From my point of >> view it must be possible to link against this toolchain. > > It's apparently "free electrons", not free electron. And they > distribute a bunch

Re: [fpc-pascal] Re: Linking Problems while cross compiling for arm

2009-12-08 Thread Jonas Maebe
On 08 Dec 2009, at 11:18, Hartmut Eilers wrote: I'm trying hard for 5 days now and I'm really frustrated, can anybody give me advice which toolchain may work or how my error can be resolved? The toolchain I use is from free electron an embedded company which uses this toolchain to build ker

[fpc-pascal] Re: Linking Problems while cross compiling for arm

2009-12-08 Thread Hartmut Eilers
@Marco I recompiled the crosscompiler with the OPT ... parameter the result is the same, linker complains that he couldn't find libdl @Dariusz I added lib to the Xr Param with no effort ubu...@kubuntu904:~/OpenLabTools/DeviceServer$ ls /usr/local/xtools/arm-unknown-linux-uclibc/arm-unknown-linux