On Saturday, January 12, 2002, at 04:44 PM, Rajneesh Kumar wrote:
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?
If you're using a commercial one, or one that's well-supported, you should already have dpmul et al in libgcc.a; you may need to choose the correct libgcc.a by *linking* with -msoft-float, as that will pick the proper version of libgcc.a.
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?
Jay