Re: Trying to build crosscompiler for ARM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stupid thunderbird again! This time send to the list...

Segher Boessenkool schrieb:
So, can I get gcc without unwind at all? I really only need the C
compiler and no unwind exceptions.

As far as I can see, the ARM libgcc division routines always require
unwinding support.  To get around that, I use an evil hack: put this

char __aeabi_unwind_cpp_pr0[0];

in a C file that you link before libgcc, and none of the unwinder
stuff will be pulled in.  Your program will of course die horribly
when you divide by zero ;-)

HTH,


Segher


I'm gonna try that.

IIRC we have our own div0 handler.

Best regards.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux