This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: GCC Cross-compilers for eCos: --enable-threads --enable-__cxa_atexit?
- From: Richard CHAN Shih-Ping <cshihpin at dso dot org dot sg>
- To: Bart Veer <bartv at ecoscentric dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Tue, 03 Dec 2002 10:12:49 +0800
- Subject: Re: [ECOS] GCC Cross-compilers for eCos: --enable-threads --enable-__cxa_atexit?
- References: <3DEAAEF7.8050403@dso.org.sg> <20021202233905.213136165C@delenn.bartv.net>
Bart Veer wrote:
I'll have to look into this, because at some point Linux distributions
may ship with a compiler that behaves like this by default. At first
glance I suspect it will be necessary to add a dummy function
Truer words were never spake :-)); I was using a home-brewed native
Linux GCC 3.2.1 with
--enable-__cxa_atexit but my sysadmin tells me that RedHat 8.0 now ships
with patched
GCC 3.2 (doesn't fix the weak symbols problem) with the C++ ABI switch
enabled.
Anyway for the interest of the list: I've tried GCC 3.2.1 i386-elf and
arm-elf with vanilla
switch settings and the target libraries and tests build cleanly though
I've yet to run them
on the boards. However,
GCC 3.2.1 + WxWin 2.3.4_GTK/Linux configtool segfaults on startup;
not sure
what's going wrong here yet. ecosconfig however works.
Cheers!
Richard
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss