We are running embedded linux-2.4.21 on an ARM9 processor (Cirrus Logic with MaverickCrunch math coprocessor) and I have successfully cross-compiled a gnu toolchain on Windows (cygwin), Linux, and Solaris 2.8 (sparc). I am able to cross-build binaries on all platforms and run them on the ARM9 so it looks as if everything is running fine.
My question is that the (glibc) libc-2.3.3.so that was built on Windows and Solaris is a different size from the one built on Linux and the one that is actually residing on the ARM9 board. I listed the maps (arm-linux-nm and sort) and notice that the function offsets are slightly different. For example:
Window and Solaris libc-2.3.3.so:
0002e360 T atof 0002e37c T atoi 0002e39c T atol 0002e3bc T atollARM9 libc-2.3.3.so:
0002e2e0 T atof 0002e2fc T atoi 0002e31c T atol 0002e33c T atollWill this cause problems or not? So far my programs seem to run fine but I am a little concerned by this. Should I be using exactly the same libc in the cross-compile environement as the running environment?
Thanks,
Snake