FYI

The list [EMAIL PROTECTED] has a thread starting:

"
I tried 2007Q3 to compile u-boot for arm926ejs, but i got the following
error "undefined reference to `raise". Is it correctable?
"

with the (probable) conclusion:

"
I don't think you need to go that far.
Uboot is a stand-alone application; raise() is an OS call on Linux that
raises a signal (in this case SIGFPE, with the subcode of division-by-zero).
What you need here is a suitable definition of __div0 for your division
function (__div0 is called if the user attempts to divide by zero).  In most
bare-metal apps like uboot, you simply need a definition of __div0 that
returns 0 rather than throwing an exception.
The implementation of __div0 that comes with the arm-none-eabi build of the
tools should do that.  Perhaps you should use that version of the compiler
for building uboot, not the arm-none-linux-gnueabi version.
"

Thanks to Richard Earnshaw mailto:[EMAIL PROTECTED]

Regards

Peter




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
U-Boot-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to