Re: GCC : Using 'try'-'catch'-'throw' with HC12 port - unresolved link errors

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

 



On Tue, 2004-02-24 at 11:18, Daniel Quinz wrote:

> main.o: undefined reference to `__gxx_personality_sj0'
> main.o: undefined reference to `typeinfo for int'
> main.o: undefined reference to `__cxa_allocate_exception'
> main.o: undefined reference to `__cxa_throw'
> main.o: undefined reference to `__cxa_begin_catch'
> main.o: undefined reference to `__cxa_end_catch'

easy solution,  link with g++ not gcc.  Longer solution there is an
additional library you need when you link c++ with gcc, cannot remember
offhand.

-- 
Thanks
KenF
OpenOffice.org developer


[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