public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] error of gcc3.4.4
@ 2005-06-24 15:37 吴身国
  0 siblings, 0 replies; 2+ messages in thread
From: 吴身国 @ 2005-06-24 15:37 UTC (permalink / raw)
  To: ecos-discuss

Hi,
  I had compiled GCC3.4.4 as my active compiler. under the eCos default gcc3.2.1, I can compile the ecos kernel and redboot.
  But use the same template, it can't be compiled, the output windows display:
===========================================================================================================
sh -c "export PATH=/opt/cvs/gnutools/arm-elf/bin:$PATH; unset GDBTK_LIBRARY; unset GCC_EXEC_PREFIX; export ECOS_REPOSITORY=/opt/cvs/ecos/packages; make --directory /root/lx/easyARM2200/easyarm2200_build"

make: Entering directory `/root/lx/easyARM2200/easyarm2200_build'
make -r -C hal/arm/arch/current headers
make[1]: Entering directory `/root/lx/easyARM2200/easyarm2200_build/hal/arm/arch/current'
make[1]: Leaving directory `/root/lx/easyARM2200/easyarm2200_build/hal/arm/arch/current'
make -r -C hal/arm/lpc2xxx/var/current headers
make[1]: Entering directory `/root/lx/easyARM2200/easyarm2200_build/hal/arm/lpc2xxx/var/current'
make[1]: Leaving directory `/root/lx/easyARM2200/easyarm2200_build/hal/arm/lpc2xxx/var/current'
make -r -C hal/arm/lpc2xxx/p2106/current headers
make[1]: Entering directory `/root/lx/easyARM2200/easyarm2200_build/hal/arm/lpc2xxx/p2106/current'
make[1]: Leaving directory `/root/lx/easyARM2200/easyarm2200_build/hal/arm/lpc2xxx/p2106/current'
make -r -C hal/common/current headers
make[1]: Entering directory `/root/lx/easyARM2200/easyarm2200_build/hal/common/current'
make[1]: Leaving directory `/root/lx/easyARM2200/easyarm2200_build/hal/common/current'
make -r -C infra/current headers
make[1]: Entering directory `/root/lx/easyARM2200/easyarm2200_build/infra/current'
make[1]: Leaving directory `/root/lx/easyARM2200/easyarm2200_build/infra/current'
make -r -C redboot/current headers
make[1]: Entering directory `/root/lx/easyARM2200/easyarm2200_build/redboot/current'
make[1]: Leaving directory `/root/lx/easyARM2200/easyarm2200_build/redboot/current'
make -r -C isoinfra/current headers
make[1]: Entering directory `/root/lx/easyARM2200/easyarm2200_build/isoinfra/current'
make[1]: Leaving directory `/root/lx/easyARM2200/easyarm2200_build/isoinfra/current'
make -r -C language/c/libc/string/current headers
make[1]: Entering directory `/root/lx/easyARM2200/easyarm2200_build/language/c/libc/string/current'
make[1]: Leaving directory `/root/lx/easyARM2200/easyarm2200_build/language/c/libc/string/current'
make -r -C services/crc/current headers
make[1]: Entering directory `/root/lx/easyARM2200/easyarm2200_build/services/crc/current'
make[1]: Leaving directory `/root/lx/easyARM2200/easyarm2200_build/services/crc/current'
headers finished
make -r -C hal/arm/arch/current arm.inc
make[1]: Entering directory `/root/lx/easyARM2200/easyarm2200_build/hal/arm/arch/current'
arm-elf-gcc -finline-limit=7000 -mthumb-interwork -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/root/lx/easyARM2200/easyarm2200_install/include -I/opt/cvs/ecos/packages/hal/arm/arch/current -I/opt/cvs/ecos/packages/hal/arm/arch/current/src -I/opt/cvs/ecos/packages/hal/arm/arch/current/tests -I. -Wp,-MD,arm.tmp -o hal_mk_defs.tmp -S /opt/cvs/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c
cc1: error: invalid option `no-short-load-words'
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]: Leaving directory `/root/lx/easyARM2200/easyarm2200_build/hal/arm/arch/current'
make[1]: *** [arm.inc] Error 1
make: Leaving directory `/root/lx/easyARM2200/easyarm2200_build'
make: *** [build] Error 2
==============================================================================

What should I do? thanks.



-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] error of gcc3.4.4
       [not found] <E1DlqEw-00045b-00@londo.lunn.ch>
@ 2005-06-24 16:07 ` Andrew Lunn
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Lunn @ 2005-06-24 16:07 UTC (permalink / raw)
  To: ??????; +Cc: ecos-discuss

On Fri, Jun 24, 2005 at 11:36:33PM +0800, ?????? wrote:
> Hi,
>   I had compiled GCC3.4.4 as my active compiler. under the eCos default gcc3.2.1, I can compile the ecos kernel and redboot.
>   But use the same template, it can't be compiled, the output windows display:

We don't current support 3.4.4 by default.

You need to edit you ecos.ecc file and remove the
-mno-short-load-words from CYGBLD_GLOBAL_CFLAGS

It might work then.

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-06-24 16:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-24 15:37 [ECOS] error of gcc3.4.4 吴身国
     [not found] <E1DlqEw-00045b-00@londo.lunn.ch>
2005-06-24 16:07 ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).