AW: [ECOS] Ecosconfig and configtool
Andy Jackson
andy@grapevinetech.co.uk
Wed May 10 09:12:00 GMT 2006
Try just removing '-mno-short-load-words' from the entry for 'Global
compiler flags' in the 'Global build options' folder.
I think more recent versions of GCC refuse to accept this option any more.
Andy..
----- Original Message -----
From: "Emmanuel Viollet" <Emmanuel.Viollet@webdyn.com>
To: "Ram Sudhir Tadavarthi" <ram.tadavarthi@netco.de>
Cc: <ecos-discuss@ecos.sourceware.org>
Sent: Wednesday, May 10, 2006 9:48 AM
Subject: Re: AW: [ECOS] Ecosconfig and configtool
> Hi.
>
> Thanks.
> Actually my current problem is that if I use configtool, I get the
> following error upon compilation :
> arm-elf-gcc -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall
> -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual
> -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -I/ecos-e/Projets/eCOS/Tests/OlimexLPC2106PPP/ecos_install/include
> -I/opt/ecos/ecos/packages/hal/arm/arch/current -I/opt/ecos/ecos/packages/hal/arm/arch/current/src
> -I/opt/ecos/ecos/packages/hal/arm/arch/current/tests -I. -Wp,-MD,arm.tmp
> -o hal_mk_defs.tmp -S
> /opt/ecos/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c
> make[1]: Leaving directory
> `/ecos-e/Projets/eCOS/Tests/OlimexLPC2106PPP/ecos_build/hal/arm/arch/current'
> cc1: error: invalid option `no-short-load-words'
> make: Leaving directory
> `/ecos-e/Projets/eCOS/Tests/OlimexLPC2106PPP/ecos_build'
> cc1: warning: command line option "-Woverloaded-virtual" is valid for
> C++/ObjC++ but not for C
> cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but
> not for C
> make[1]: *** [arm.inc] Error 1
> make: *** [build] Error 2
>
> whereas if I compile using make in the cygwin shell, it works.
> Apparently configtool isn't using the correct cc1 compiler. Where can I
> configure this?
>
> In advance, thanks.
>
>
> Ram Sudhir Tadavarthi a écrit :
>> Hi,
>>
>> Configtool is Graphical tool and ecosconfig is command line tool. You can
>> use either as per your convenience. I prefer to use configtool. IMHO both
>> should provide same results though I never tried to use ecosconfig tool
>> much.
>>
>> Warm regards,
>> ram
>>
>> -----Ursprüngliche Nachricht-----
>> Von: ecos-discuss-owner@ecos.sourceware.org
>> [mailto:ecos-discuss-owner@ecos.sourceware.org] Im Auftrag von Emmanuel
>> Viollet
>> Gesendet: Mittwoch, 10. Mai 2006 10:25
>> An: ecos-discuss@ecos.sourceware.org
>> Betreff: [ECOS] Ecosconfig and configtool
>>
>> Hi.
>>
>> Under Windows, which tool am I supposed to use? ecosconfig or configtool?
>> I see that the two tools do not produce the same results (different
>> directory structures for instance).
>> Is this normal?
>>
>> In advance, thanks.
>>
>>
>
>
> --
> Emmanuel Viollet
> Software engineer
> Webdyn
> e-mail : Emmanuel.Viollet@webdyn.com
> Tel : +33 (0)1 39 04 29 55
>
>
> --
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list