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]

Re: GDB load "timed out"


> Did you notice? Only puts is missing. This usually indicates that you need to
> add -fno-builtin to your CFLAGS when you build RedBoot.
Ok, this works fine! But am I the only one to need such an extra cc flag, for
it not to be in the default settings?

But wait, I must be the one lamer out there: there is still an build error
right at the end, when the flash_cksum.tcl script gets called
(see trace below)
It seems to me the cygtclsh80 TCL interpreter (last stable version from Cygwin)
is correctly executed but can't access a "//c/local/..."-like file by itself.
"/c/..."-like paths don't work too but "c:/..." do. Is there a clean way to
correct that?

Thanks again,
Sylvain

-- begin trace --
arm-elf-gcc -c
-DCHECKSUM=`//c/local/src/ecos/packages/hal/arm/e7t/current/src/flash_cksum.tcl
src/redboot_ncs.bin`  -I//C/devel/redboot/redboot_install/include
-I//c/local/src/ecos/packages/hal/arm/e7t/current
-I//c/local/src/ecos/packages/hal/arm/e7t/current/src
-I//c/local/src/ecos/packages/hal/arm/e7t/current/tests -I.
-I//c/local/src/ecos/packages/hal/arm/e7t/current/src/ -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 -fno-builtin -fvtable-gc -finit-priority -o
src/redboot.o
//c/local/src/ecos/packages/hal/arm/e7t/current/src/redboot_module.c
couldn't read file
"//c/local/src/ecos/packages/hal/arm/e7t/current/src/flash_cksum.tcl": no such
file or directory

//c/local/src/ecos/packages/hal/arm/e7t/current/src/redboot_module.c:91: parse
error before ',' token
make[1]: *** [//C/devel/redboot/redboot_install/bin/redboot.bin] Error 1
make[1]: Leaving directory `/c/devel/redboot/redboot_build/hal/arm/e7t/current'
make: *** [build] Error 2
-- end trace --


___________________________________________________________
Do You Yahoo!? -- Vos albums photos en ligne, 
Yahoo! Photos : http://fr.photos.yahoo.com


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