This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
R: R: Problem compiling redboot for XScale
- From: "Pascal Pediroda @ Brime" <pascal dot pediroda at brime dot it>
- To: "Jonathan Larmour" <jifl at eCosCentric dot com>
- Cc: <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 26 Mar 2003 18:43:13 +0100
- Subject: [ECOS] R: R: [ECOS] Problem compiling redboot for XScale
- Reply-to: <pascal dot pediroda at brime dot it>
Here is the command :
arm-elf-gcc -c -I/ecos-c/BootRosso/Bootrosso_install/include -I/ecos-c/cygw
in/src/ecos/packages/hal/arm/arch/current -I/ecos-c/cygwin/src/ecos/packages
/hal/arm/arch/current/src -I/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/cu
rrent/tests -I. -I/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/
-v -mcpu=xscale -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef
-Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -f
no-exceptions -fvtable-gc -finit-priority -mapcs-frame -Wp,-MD,src/hal_misc.
tmp -o src/hal_arm_arch_hal_misc.o
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_misc.c
Here is the resulting log:
Reading specs from /gnutools/lib/gcc-lib/arm-elf/3.2.2/specs
Configured with:
/src/gcc-3.2.2/configure --target=arm-elf --prefix=/gnutools --enable-langua
ges=c,c++ --with-gnu-as --with-new-ld --with-newlib -with-gxx-include-dir=/g
nutools/arm-elf/include -v : (reconfigured)
/src/gcc-3.2.2/configure --target=arm-elf --prefix=/gnutools --enable-langua
ges=c,c++ --with-gnu-as --with-new-ld --with-newlib -with-gxx-include-dir=/g
nutools/arm-elf/include -v : (reconfigured)
/src/gcc-3.2.2/configure --target=arm-elf --prefix=/gnutools --enable-langua
ges=c,c++ --with-gnu-as --with-new-ld --with-newlib -with-gxx-include-dir=/g
nutools/arm-elf/include -v
Thread model: single
gcc version 3.2.2
/gnutools/lib/gcc-lib/arm-elf/3.2.2/cc1.exe -lang-c -v -I/ecos-c/BootRosso/B
ootrosso_install/include -I/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/cur
rent -I/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src -I/ecos-c/c
ygwin/src/ecos/packages/hal/arm/arch/current/tests -I. -I/ecos-c/cygwin/src/
ecos/packages/hal/arm/arch/current/src/ -D__GNUC__=3 -D__GNUC_MINOR__=2 -D__
GNUC_PATCHLEVEL__=2 -D__GXX_ABI_VERSION=102 -D__ELF__ -D__ELF__ -D__OPTIMIZE
__ -D__STDC_HOSTED__=1 -Acpu=arm -Amachine=arm -D__ARM_ARCH_5TE__ -D__XSCALE
__ -D__APCS_32__ -D__ARMEL__ -D__ELF__ -D__USES_INITFINI__ -D__arm__ -MD
src/hal_misc.tmp
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_misc.c -quiet
-dumpbase
hal_misc.c -mcpu=xscale -mapcs-frame -g -O2 -Wall -Wpointer-arith -Wstrict-p
rototypes -Winline -Wundef -Woverloaded-virtual -version -ffunction-sections
-fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -o
/ecos-c/DOCUME~1/fferrara/IMPOST~1/Temp/ccKY3a9n.s
ignoring nonexistent directory
"/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/tests"
GNU CPP version 3.2.2 (cpplib) (ARM/ELF)
GNU C version 3.2.2 (arm-elf)
compiled by GNU C version 3.2 20020927 (prerelease).
ignoring nonexistent directory "/gnutools/arm-elf/sys-include"
ignoring duplicate directory
"/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src"
#include "..." search starts here:
#include <...> search starts here:
/ecos-c/BootRosso/Bootrosso_install/include
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src
.
/gnutools/include
/gnutools/lib/gcc-lib/arm-elf/3.2.2/include
/gnutools/arm-elf/include
End of search list.
/gnutools/lib/gcc-lib/arm-elf/3.2.2/../../../../arm-elf/bin/as.exe -mxscale
-mapcs-frame -o src/hal_arm_arch_hal_misc.o
/ecos-c/DOCUME~1/fferrara/IMPOST~1/Temp/ccKY3a9n.s
Thank you again
-----Messaggio originale-----
Da: Jonathan Larmour [mailto:jifl at eCosCentric dot com]
Inviato: mercoledi 26 marzo 2003 17.58
A: pascal dot pediroda at brime dot it
Cc: ecos-discuss at sources dot redhat dot com
Oggetto: Re: R: [ECOS] Problem compiling redboot for XScale
Pascal Pediroda @ Brime wrote:
> Thank you for your answer Jifl,
> I do have the
/ecos-c/BootRosso/Bootrosso_install/include/cyg/hal/hal_arch.h
> file.
Can you try the compilation of that file by hand, i.e.:
cd /ecos-c/BootRosso/Bootrosso_build/hal/arm/arch/current
make
If that doesn't work, can you cut and paste the entire command and try
running it but add the extra option "-v" and send the output.
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss