Is anyone testing for a (cross-) target (board) with dynlinking?

David Daney ddaney@avtrex.com
Tue Feb 12 02:08:00 GMT 2008


Hans-Peter Nilsson wrote:
> Cross-compiling from "one Linux/GNU" to another, different
> arches.  In my case, from x86_64-unknown-linux-gnu to
> crisv32-axis-linux-gnu.  Replace with arm, mips, ppc or yourarch
> as you please; you should see the same thing.  When you've
> eventually added the required telnet_exec support needed due to
> the lack of rsh support on your target ("only" telnet and ftp),

I had a lot of problem with ftp and telnet, so I built rsh/rcp for the 
target.  They seem to work well.

> and you get the files over to the target and chmod +x:ed, you'll
> get (wrapped):
>  /tmp/20000112-1.x0.23789: error while loading shared libraries:
>   libgcc_s.so.1: cannot load shared object file: No such file or directory^M
> 

I don't know what others do, but I always manually copy all the target 
libraries to the target board before running the testsuite remotely.

All my remote testing has been on a mipsel-linux-gnu target.

David Daney



More information about the Gcc mailing list