>>Is there some way that arm-linux-gcc automatically knows where to get the 
>>libgcc.a code?  Or this could be a result of the ssh configure script
hacking 
>>that I had to do to get it to cross-compile - 

>Yes, GCC should be able to find this library for itself.  I can't think of
>anything the configure script is likely to have done that would stop this
>working.  What's the actual gcc command line that gets used for the final
>link?

>p.

Yes, and something even more horrible happened then I realized - you see a
warning about not being able to find _start!  Here's a snippet of a the ld
command for one of the ssh binaries.  Note that I added the -ldl and -lgcc
based on problems with unresolved symbols I was getting. Probably if we find
my original build problem, I wouldn't have needed to do that.

/home/kcarlson/tools/armtools_2_4_12/bin/arm-linux-ld -o sftp sftp.o
sftp-client.o sftp-common.o sftp-int.o sftp-glob.o -L. -Lopenbsd-compat/
-L/home/kcarlson/pb_build/openssh-3.0.2p1/../openssl
-L/home/kcarlson/tools/armtools_2_4_12/lib/gcc-lib/arm-linux/2.95.2 -lssh
-lopenbsd-compat -lutil -lz -lnsl -ldl -lgcc -lcrypto 
/home/kcarlson/tools/armtools_2_4_12/bin/arm-linux-ld: warning: cannot find
entry symbol _start; defaulting to 020013c8
make[2]: Leaving directory `/home/kcarlson/pb_build/openssh-3.0.2p1'
make[1]: Leaving directory `/home/kcarlson/pb_build/openssh-3.0.2p1'


_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to