When I run the program on the target, it gives undefined symbols "dpmul", "dpdiv", "dpadd", "dptoi". These symbols are from the floating point library. I do have Math/C/GCC library loaded. Can anyone out there has some experience of dealing with this kind of error or some other workaround. Any pointers will be greatly appreciated.
Where are you getting your cross-compiler?
I have my own cross compiler, GCC 2.95.3.
If you're building gcc by hand, well, things are a little more complicated. If you are, could you tell us how your configuring >gcc?
I am configuring the GCC as... working in gcc-build> and have /usr/local/toshiba/bin in my path.
../gcc-2.95.3/configure --nfp --target=mipstx39-linux --prefix=/usr/local/toshiba --enable-shared --with-gnu-ld --with-gnu-as --with-newlib
cd libiberty ../../gcc-2.95.3/configure --nfp --target=mipstx39-linux --prefix=/usr/local/toshiba --enable-shared --with-gnu-ld --with-gnu-as --with-newlib
cd ..
make cross make install-cross
Then build GLIBC and again revisiting GCC by configurinng the GCC the same way except removing option --with-newlib and adding --with-headers=/usr/local/toshiba/include --with-libs=/usr/local/toshiba/lib
Jay
Thanks Rajneesh