This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
question about GCC for Arm Installation
- To: <ecos-discuss at sources dot redhat dot com>
- Subject: [ECOS] question about GCC for Arm Installation
- From: "Grant Whitacre" <Grant dot Whitacre at motorola dot com>
- Date: Wed, 25 Jul 2001 15:59:44 -0500
I recently downloaded and built the dev tools for Arm development -- GCC
(2.95.2), binary utilities (2.10.1) and insight (5.0). Everything seems to
get built just fine but when I try to do a minimum eCos build with default
settings using the Configuration tool (1.3.1), I get error messages:
make[1]: Entering directory
`/c/Coldfire/eCos/MyBuilds/MinimalForArm3_build/hal/arm/arch/v1_3_1'
arm-elf-gcc -mcpu=arm7tdmi -Wall -Wpointer-arith -Wstrict-prototypes -Winlin
e -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -f
no-rtti -fno-exceptions -fvtable-gc -finit-priority -I//C/Coldfire/eCos/MyB
uilds/MinimalForArm3_install/include -I//c/coldfire/ecos/packages/hal/arm/ar
ch/v1_3_1 -I//c/coldfire/ecos/packages/hal/arm/arch/v1_3_1/src -I//c/coldfir
e/ecos/packages/hal/arm/arch/v1_3_1/tests -I. -Wp,-MD,arm.tmp -o
hal_mk_defs.tmp -S
//c/coldfire/ecos/packages/hal/arm/arch/v1_3_1/src/hal_mk_defs.c
cc1.exe: Invalid option `-Woverloaded-virtual'
cc1.exe: Invalid option `-fno-rtti'
cc1.exe: Invalid option `-fvtable-gc'
cc1.exe: Invalid option `-finit-priority'
//c/coldfire/ecos/packages/hal/arm/arch/v1_3_1/src/hal_mk_defs.c: In
function `main':
//c/coldfire/ecos/packages/hal/arm/arch/v1_3_1/src/hal_mk_defs.c:105:
warning: control reaches end of non-void function
make[1]: *** [arm.inc] Error 1
make[1]: Leaving directory
`/c/Coldfire/eCos/MyBuilds/MinimalForArm3_build/hal/arm/arch/v1_3_1'
make: *** [build] Error 2
I've followed the installation procedure exactly as described on the
"Building the ARM development tools for Windows" site. I've also tried
upgrading to the latest versions of the tools (GCC-v3.0 and
binutil-v2.11.2), but I get the same results. Does anyone have any ideas?
Do I need anything else - like newlib or gcc-g++? (I tried to download the
latter but this folder on all the mirror sites was unavailable).
Thanks,
Grant