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: trying to build eCos...


finally managed to get the gcc config running with the added (develop) parts
of cygwin, but again it all just drains out in more errors after a while -
same kind of problems I had with building the eCos lib to begin with it
seems, just much higher up in the toolchain - thus further from the goal :-(

I'll definately consider ordering that CD - perhaps I'll be better off
paying for software after all...

mkdir libgcc
mkdir thumb
mkdir libgcc/thumb
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/tmp/build/gcc/gcc/xgcc -B/tmp/build/gcc/gcc/ -B/usr/local/arm-elf/bin/ -B/u
sr/local/arm-elf/lib/ -isystem
/usr/local/arm-elf/include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-str
ings -Wstrict-prototypes -Wmissing-prototypes -isystem
./include -Dinhibit_libc -fno-inline -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDE
D -Dinhibit_libc -I. -I. -I/home/administrator/src/gcc/gcc -I/home/administr
ator/src/gcc/gcc/. -I/home/administrator/src/gcc/gcc/config -I/home/administ
rator/src/gcc/gcc/../include -DL_udivsi3 -xassembler-with-cpp -c
/home/administrator/src/gcc/gcc/config/arm/lib1funcs.asm -o
libgcc/./_udivsi3.o
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s: Assembler messages:
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:5: Error: invalid
character '@' in mnemonic
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:6: Error: invalid
character '@' in mnemonic
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:55: Error: no such
instruction: `work .req r4 @ XXXX is this safe?'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:56: Error: no such
instruction: `dividend .req r0'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:57: Error: no such
instruction: `divisor .req r1'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:58: Error: no such
instruction: `overdone .req r2'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:59: Error: no such
instruction: `result .req r2'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:60: Error: no such
instruction: `curbit .req r3'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:61: Error: no such
instruction: `ip .req r12'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:62: Error: no such
instruction: `sp .req r13'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:63: Error: no such
instruction: `lr .req r14'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:64: Error: no such
instruction: `pc .req r15'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:319: Warning: .type
pseudo-op used outside of .def/.endef ignored.
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:319: Warning: rest of
line ignored; first ignored character is `_'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:321: Error: expecting
operand after ','; got nothing
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:322: Error: no such
instruction: `beq Ldiv0'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:323: Error: expecting
operand after ','; got nothing
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:324: Error: expecting
operand after ','; got nothing
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:325: Error: too many
memory references for `cmp'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:326: Error: no such
instruction: `blo Lgot_result'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: invalid
character '@' in mnemonic
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: invalid
character '@' in mnemonic
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: invalid
character '@' in mnemonic
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: invalid
character '@' in mnemonic
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: expecting
operand after ','; got nothing
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: no such
instruction: `cmplo divisor,dividend'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: no such
instruction: `movlo divisor,divisor,lsl'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: no such
instruction: `movlo curbit,curbit,lsl'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: no such
instruction: `blo Loop1'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: invalid
character '@' in mnemonic
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: invalid
character '@' in mnemonic
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: expecting
operand after ','; got nothing
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: no such
instruction: `cmplo divisor,dividend'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: no such
instruction: `movlo divisor,divisor,lsl'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: no such
instruction: `movlo curbit,curbit,lsl'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: no such
instruction: `blo Lbignum'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: invalid
character '@' in mnemonic
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: invalid
character '@' in mnemonic
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: invalid
character '@' in mnemonic
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: invalid
character '@' in mnemonic
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: invalid
character '@' in mnemonic
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: too many
memory references for `cmp'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: no such
instruction: `subhs dividend,dividend,divisor'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: no such
instruction: `orrhs result,result,curbit'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: too many
memory references for `cmp'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: no such
instruction: `subhs dividend,dividend,divisor,lsr'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: no such
instruction: `orrhs result,result,curbit,lsr'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: too many
memory references for `cmp'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: no such
instruction: `subhs dividend,dividend,divisor,lsr'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: no such
instruction: `orrhs result,result,curbit,lsr'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: too many
memory references for `cmp'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: no such
instruction: `subhs dividend,dividend,divisor,lsr'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: no such
instruction: `orrhs result,result,curbit,lsr'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: expecting
operand after ','; got nothing
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: no such
instruction: `movnes curbit,curbit,lsr'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: no such
instruction: `movne divisor,divisor,lsr'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:328: Error: no such
instruction: `bne Loop3'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:330: Error: too many
memory references for `mov'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:331: Error: too many
memory references for `mov'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:335: Error: invalid char
'[' beginning operand 2 `[sp'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:335: Error: no such
instruction: `bl __div0 (PLT)'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:335: Error: expecting
operand after ','; got nothing
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:335: Error: no such
instruction: `ldmia sp!,{pc}'
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:335: Warning: .size
pseudo-op used outside of .def/.endef ignored.
/ecos-c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccg357Md.s:335: Warning: rest of
line ignored; first ignored character is `_'
make[2]: *** [libgcc/./_udivsi3.o] Error 1
make[2]: Leaving directory `/tmp/build/gcc/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/tmp/build/gcc/gcc'
make: *** [all-gcc] Error 2
make: Leaving directory `/tmp/build/gcc'

----- Original Message -----
From: "Jonathan Larmour" <jifl at eCosCentric dot com>
To: "Paul M. Øverby" <paul dot magnar dot overby at spagat dot no>
Cc: <ecos-discuss at sources dot redhat dot com>
Sent: Tuesday, March 04, 2003 3:23 PM
Subject: Re: [ECOS] trying to build eCos...


> Paul M. Øverby wrote:
> > yeah, been across it acouple of times - but until recently I did not
> > understand that gcc and arm-elf-gcc was built from the same source.
>
> Ah, oh well :).
>
> > But the very "building" part is just a new problem! So I have been
looking
> > for executables of this version already built as arm-elf-gcc, only to
> > realize that I'll never find it...
> > So, back to building it (something that will probably generate just as
many
> > problems as trying to build the eCos lib - wich is my original
problem!).
> > First issue - I'm supposed to point the envir variable CC to my gcc.exe.
But
> > I don't have a gcc, that is what I am trying to build in the first case
> > right ?! I REALLY don't get this....
>
> You don't need to. The safest option all round is to follow
> http://sources.redhat.com/ecos/install-windows.html and do the
> "downloading and installing the development tools". For arm-elf certainly
> 2.95 will do.
>
> Alternatively if you're prepared to wait till later this week or next week
>   the eCos 2.0 beta will be out and will come with prebuilt toolchains.
> We're in the final stages of beta release candidate testing now.
> <commercial plug>And you can preorder a CDROM version from
> http://www.ecoscentric.com/ which will save download time and make things
> slightly easier to use</commercial plug>. It's the same stuff as
> publically released though so if you have a fat link you may not need to.
>
> > It says cygwin is supposed to come with a gcc.exe version, but ofcourse
it
> > doesn't...
>
> It's not included by default. Run setup.exe again and find it in the
> package list.
>
> 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


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