Porting GCC to RDOS and C++ issues

Mike Stump mrs@apple.com
Thu Dec 29 20:57:00 GMT 2005


On Dec 29, 2005, at 11:45 AM, Leif Ekblad wrote:
> However, now I still get unresolved externals related to C++  
> exception-handling (_Unwind_resume
> and so on).

mrs $ nm libgcc_s.1.dylib | grep Unwind_Re
00008c24 T __Unwind_Resume
mrs $ nm libgcc/unwind-dw2.o | grep Unwind_Res
000024c0 T __Unwind_Resume

> Where are these functions implemented

grep will show you the code that should be used to build it.  unwind- 
dw2.c is the usual place.

> and does there exist some example implementations

gcc contains many examples of ports that work.  I'd recommend  
compiling up gcc on linux, targeted at linux, and you can compare and  
contrast your port and how it works with it.  nm `find -name \*.o` |  
grep Unwind_Res for example woudl have told you in what file it was  
defined and should be faster and more accurate than email turn around.



More information about the Gcc mailing list