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]

Re: Error building eCos with ARM


Hi, Jonathan,
Thank you for your suggestions.
The first method you said failed, no additional info on thast one

Here is the screen capture of doing that line by hand with -v   Is this what
you are looking for.
norman


nyeung@QSTAR
/ecos-c/PROGRA~1/REDHAT~1/ECOSCO~1/arm1234_build/hal/arm/arch/curre
nt
$
arm-elf-gcc -mcpu=arm7tdi -Wall -Wpointer-arith -Wstrict-prototypes -Winline
-Wundef -Woverloaded-virtual -g -O2 -fno-schedule-insns -ffunction-sections 
-fd
ata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -I/ecos-c
/PR
OGRA~1/REDHAT~1/ECOSCO~1/arm1234_install/include -I/ecos-c/cygwin/home/nyeun
g/e
cos2/ecos/packages/hal/arm/arch/current/src -Iecos-c/cygwin/home/nyeung/ecos
2/e
cos/packages/hal/arm/arch/current/tests -I. -Wp,-MD,arm.tmp -o
hal_nk_defs.tmp
-S
/ecos-c/cygwin/home/nyeung/ecos2/ecos/packages/hal/arm/arch/current/src/hal_
mk_defs.c -v
Using builtin specs.
gcc version 2.95.3 20010315 (release)

cpp0 -lang-c -v -I/ecos-c/PROGRA~1/REDHAT~1/ECOSCO~1/arm1234_install/include
 -I
/ecos-c/cygwin/home/nyeung/ecos2/ecos/packages/hal/arm/arch/current/src -Iec
os-c
/cygwin/home/nyeung/ecos2/ecos/packages/hal/arm/arch/current/tests -I. -D__G
NUC_
_=2 -D__GNUC_MINOR__=95 -Darm -Darm_elf -D__ELF__ -D__arm__ -D__arm_elf__ -D
__EL
F__ -D__arm -D__arm_elf -Acpu(arm) -Amachine(arm) -D__CHAR_UNSIGNED__ -D__OP
TIMI
ZE__ -g -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloa
ded-
virtual -D__APCS_32__ -MD arm.tmp
/ecos-c/cygwin/home/nyeung/ecos2/ecos/packages
/hal/arm/arch/current/src/hal_mk_defs.c /ecos-c/WINDOWS/TEMP/ccoGBNTJ.i


----- Original Message -----
From: "Jonathan Larmour" <jifl@eCosCentric.com>
To: "nyeung" <norman_yeung@hotmail.com>
Cc: "eCos discuss" <ecos-discuss@sources.redhat.com>
Sent: Wednesday, February 05, 2003 7:09 PM
Subject: Re: [ECOS] Error building eCos with ARM


> nyeung wrote:
> > Hello,
> > I am trying to build eCos Redboot using the ARM template.
> > I got the following errors
> >
> >
arm-elf-gcc -mcpu=arm7tdmi -Wall -Wpointer-arith -Wstrict-prototypes -Winlin
> >
e -Wundef -Woverloaded-virtual -g -O2 -fno-schedule-insns -ffunction-section
> >
 -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority  -I/
> >
ecos-c/PROGRA~1/REDHAT~1/ECOSCO~1/arm1234_install/include -I/ecos-c/cygwin/h
> >
ome/nyeung/ecos2/ecos/packages/hal/arm/arch/current -I/ecos-c/cygwin/home/ny
> >
eung/ecos2/ecos/packages/hal/arm/arch/current/src -I/ecos-c/cygwin/home/nyeu
> > ng/ecos2/ecos/packages/hal/arm/arch/current/tests -I. -Wp,-MD,arm.tmp -o
> > hal_mk_defs.tmp -S
> >
/ecos-c/cygwin/home/nyeung/ecos2/ecos/packages/hal/arm/arch/current/src/hal_
> > mk_defs.c
> > make[1]: Leaving directory
> > `/ecos-c/PROGRA~1/REDHAT~1/ECOSCO~1/arm1234_build/hal/arm/arch/current'
> > make[1]: *** [arm.inc] Error 1
> > make: Leaving directory
`/ecos-c/PROGRA~1/REDHAT~1/ECOSCO~1/arm1234_build'
> > make: *** [build] Error 2
> >
> > I build arm-xtool using gcc-2.95.3, source code is a snap shot from eCos
2.0
> > (from CD in Massa's book) and configuration tool 2.11 (also from the
book)
> >
> > Can any one give me suggestions on what is wrong and how to correct the
> > problem pls.
>
> I don't know why but although an error is reported, there's no actual
> error message! Can you try starting a cygwin shell prompt, "cd
> /ecos-c/PROGRA~1/REDHAT~1/ECOSCO~1/arm1234_build" and then type "make" and
> see if it either works or tells you something more useful.
>
> If it doesn't, can you do:
> "cd /ecos-c/PROGRA~1/REDHAT~1/ECOSCO~1/arm1234_build/hal/arm/arch/current"
> and then copy and paste the command line above beginning arm-elf-gcc
> -mcpu=..... and ending on ...../src/hal_mk_defs.c. But to the end of that
> command line add "-v". Then send us the output.
>
> Jifl
> --
> eCosCentric       http://www.eCosCentric.com/       <info@eCosCentric.com>
> --[ "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
>

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


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