This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: problems compiling host tools
- From: Aldo Dolfi <dolfi at nec-labs dot com>
- To: Jonathan Larmour <jifl at eCosCentric dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Thu, 06 Mar 2003 09:18:03 -0500
- Subject: Re: [ECOS] problems compiling host tools
- References: <3E5E595C.50103@nec-labs.com> <3E5E65B8.6060907@eCosCentric.com> <3E667007.8050204@nec-labs.com> <3E66A622.4070608@eCosCentric.com>
Thanks, Jonathan,
and I got the linking errors in the attached file. [snip]
>
/home/dolfi/ecos/jessica/install/lib/libtarget.a(kernel_thread.o)(.text._Z41__static_initialization_and_destruction_0ii+0x2b):
In function `__static_initialization_and_destruction_0(int, int)':
/home/dolfi/ecos/jessica/install/include/cyg/kernel/thread.inl:254:
undefined reference to `__dso_handle'
This is odd. This implies eCos was built without "-fno-exceptions
-fno-rtti". But unless you changed the configuration to use different
flags (as the commands you wrote above indicate) that really shouldn't
happen.
How did you build the i386-elf-gcc? Or where did you get it from?
Ops, I simply thought I would not need a cross compiler, because host
and target are on the same arch, so I simply created symlinks to the
system provided tools... Is this wrong?
dolfi at milan:~/ecos/jessica2$ i386-elf-gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/3.2.3/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,proto,pascal,objc,ada --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared
--with-system-zlib --enable-nls --without-included-gettext
--enable-__cxa_atexit --enable-clocale=gnu --enable-java-gc=boehm
--enable-objc-gc i386-linux
Thread model: posix
gcc version 3.2.3 20030221 (Debian prerelease)
Aldo
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss