This is the mail archive of the ecos-discuss@sources.redhat.com 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]

error of gcc3.4.4


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


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