This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: first time compiling ecos


Thank you for your answer
This is the output of my toolchain

.;
thumb;@mthumb
be;@mbig-endian
fpu;@mhard-float
interwork;@mthumb-interwork
nofmult;@mcpu=arm7
fpu/interwork;@mhard-float@mthumb-interwork
fpu/nofmult;@mhard-float@mcpu=arm7
be/fpu;@mbig-endian@mhard-float
be/interwork;@mbig-endian@mthumb-interwork
be/nofmult;@mbig-endian@mcpu=arm7
be/fpu/interwork;@mbig-endian@mhard-float@mthumb-interwork
be/fpu/nofmult;@mbig-endian@mhard-float@mcpu=arm7
thumb/be;@mthumb@mbig-endian
thumb/interwork;@mthumb@mthumb-interwork
thumb/be/interwork;@mthumb@mbig-endian@mthumb-interwork

adi@adi-e6fcd0860c9 /opt/ecos/ecos-3.0
$ /cygdrive/c/Program\ Files/GNUARM/bin/arm-elf-gcc -v
Using built-in specs.
Target: arm-elf
Configured with: ../gcc-4.1.1/configure --target=arm-elf -
th-newlib --with-headers=../newlib-1.14.0/newlib/libc/incl
Thread model: single
gcc version 4.1.1

adi@adi-e6fcd0860c9 /opt/ecos/ecos-3.0
$ /cygdrive/c/Program\ Files/GNUARM/bin/arm-elf-ld.exe -v
GNU ld version 2.17

adi@adi-e6fcd0860c9 /opt/ecos/ecos-3.0
$

As you can see gcc4.1.1.

I would be happy to use ecos tested toolchain but it seems that the link
(ftp://ftp.sourceware.org/pub/ecos/gnutools/cygwin/ecoscentric-gnutools-arm-
elf-1.4-2.cygwin.tar.bz2) provided does not work.
Thank you Adi Baron.

-----Original Message-----
From: John Dallaway [mailto:john@dallaway.org.uk] 
Sent: Tuesday, June 23, 2009 8:54 AM
To: Adi Baron
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: first time compiling ecos

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-e
lf-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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]