This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: first time compiling ecos
- From: John Dallaway <john at dallaway dot org dot uk>
- To: Adi Baron <adi_baron at hotmail dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Tue, 23 Jun 2009 07:53:31 +0100
- Subject: [ECOS] Re: first time compiling ecos
- References: <SNT113-W60DE66A2DA4D790593701C8C360@phx.gbl>
Hi Adi
Adi Baron wrote:
> I am not sure if i should send to ecos-discuss-digest or ecos-discuss
> so sorry if this mail received twise.
ecos-discuss@ecos.sourceware.org is the correct address.
> I am trying to compile ecos for the first time and succeeded.
> I have chose an arm template (arm evealuation board) and succeeded to
> compile with no problem.
> I have choosed my installed GCC-4.1.1 (windows).
> I am using the GUI configuration tool.
>
> While trying to build the tests i have failed with:
>
> make[1]: Leaving directory `/opt/ecos/ecos-3.0/tools/bin/arm_AEB_build/infra/v3_0'
> `.gcc_except_table' referenced in section `.text' of /cygdrive/c/PROGRA~1/GNUARM/bin/../lib/gcc/arm-elf/4.1.1/../../../../arm-elf/lib/nofmult/libsupc++.a(eh_personality.o): defined in discarded section `.gcc_except_table' of /cygdrive/c/PROGRA~1/GNUARM/bin/../lib/gcc/arm-elf/4.1.1/../../../../arm-elf/lib/nofmult/libsupc++.a(eh_personality.o)
> make: Leaving directory `/opt/ecos/ecos-3.0/tools/bin/arm_AEB_build'
>
> This was typed multiple times.
>
> What can be the problem?
> Maybee a toolchain issue?
Which toolchain are you using? What is the output of the following commands?
arm-elf-gcc -v
arm-elf-gcc -print-multi-lib
arm-elf-ld -v
I suggest that you start experimenting with the eCos on the "aeb" target
using the eCos arm-elf toolchain:
ftp://ftp.sourceware.org/pub/ecos/gnutools/cygwin/ecoscentric-gnutools-arm-elf-1.4-2.cygwin.tar.bz2
John Dallaway
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss