This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin 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]

I can not build crossgcc


Hi friend,

I build gcc for ARM target development, but it does not successfully. I am
using gcc-core-2.95.2.tar.bz2 and gcc-g++-2.95.2.tar.bz2 under cygwin.

configure gcc
/src/gcc/gcc-2.95.2/configure --target=arm-elf \
--prefix=/tools \
--exec-prefix=/tools/H-i686-pc-cygwin \
--with-gnu-as --with-gnu-ld --with-newlib \
-v 2>&1 | tee configure.out 

build gcc
make -w all-gcc install-gcc \ 
LANGUAGES="c c++" 2>&1 | tee make.out 

I got the following error message in the make.out file

_udivsi3
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s: Assembler messages:
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:2: Warning: rest of line
ignored; first ignored character is `@'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:3: Warning: rest of line
ignored; first ignored character is `@'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:72: Error: no such
instruction: `dividend .req r0'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:73: Error: no such
instruction: `divisor .req r1'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:74: Error: no such
instruction: `result .req r2'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:75: Error: no such
instruction: `curbit .req r3'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:76: Error: no such
instruction: `ip .req r12'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:77: Error: no such
instruction: `sp .req r13'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:78: Error: no such
instruction: `lr .req r14'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:79: Error: no such
instruction: `pc .req r15'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:83: Warning: .type
pseudo-op used outside of .def/.endef ignored.
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:83: Warning: rest of
line ignored; first ignored character is `_'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:87: Error: expecting
operand after ','; got nothing
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:88: Error: no such
instruction: `beq Ldiv0'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:89: Error: expecting
operand after ','; got nothing
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:90: Error: expecting
operand after ','; got nothing
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:91: Error: too many
memory references for `cmp'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:92: Error: no such
instruction: `bcc Lgot_result'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:94: Warning: rest of
line ignored; first ignored character is `@'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:95: Warning: rest of
line ignored; first ignored character is `@'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:96: Warning: rest of
line ignored; first ignored character is `@'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:97: Warning: rest of
line ignored; first ignored character is `@'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:98: Error: expecting
operand after ','; got nothing
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:99: Error: no such
instruction: `cmpcc divisor,dividend'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:100: Error: no such
instruction: `movcc divisor,divisor,lsl'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:101: Error: no such
instruction: `movcc curbit,curbit,lsl'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:102: Error: no such
instruction: `bcc Loop1'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:105: Warning: rest of
line ignored; first ignored character is `@'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:106: Warning: rest of
line ignored; first ignored character is `@'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:107: Error: expecting
operand after ','; got nothing
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:108: Error: no such
instruction: `cmpcc divisor,dividend'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:109: Error: no such
instruction: `movcc divisor,divisor,lsl'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:110: Error: no such
instruction: `movcc curbit,curbit,lsl'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:111: Error: no such
instruction: `bcc Lbignum'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:114: Warning: rest of
line ignored; first ignored character is `@'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:115: Warning: rest of
line ignored; first ignored character is `@'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:116: Warning: rest of
line ignored; first ignored character is `@'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:117: Warning: rest of
line ignored; first ignored character is `@'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:118: Error: too many
memory references for `cmp'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:119: Error: no such
instruction: `subcs dividend,dividend,divisor'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:120: Error: no such
instruction: `orrcs result,result,curbit'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:121: Error: too many
memory references for `cmp'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:122: Error: no such
instruction: `subcs dividend,dividend,divisor,lsr'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:123: Error: no such
instruction: `orrcs result,result,curbit,lsr'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:124: Error: too many
memory references for `cmp'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:125: Error: no such
instruction: `subcs dividend,dividend,divisor,lsr'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:126: Error: no such
instruction: `orrcs result,result,curbit,lsr'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:127: Error: too many
memory references for `cmp'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:128: Error: no such
instruction: `subcs dividend,dividend,divisor,lsr'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:129: Error: no such
instruction: `orrcs result,result,curbit,lsr'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:130: Error: expecting
operand after ','; got nothing
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:131: Error: no such
instruction: `movnes curbit,curbit,lsr'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:132: Error: no such
instruction: `movne divisor,divisor,lsr'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:133: Error: no such
instruction: `bne Loop3'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:135: Error: too many
memory references for `mov'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:136: Error: too many
memory references for `mov'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:139: Error: invalid char
'[' beginning operand 2 `[sp'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:140: Error: no such
instruction: `bl __div0 (PLT)'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:141: Error: expecting
operand after ','; got nothing
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:142: Error: no such
instruction: `ldmia sp!,{pc}'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:144: Warning: .size
pseudo-op used outside of .def/.endef ignored.
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:144: Warning: rest of
line ignored; first ignored character is `_'
make[1]: *** [libgcc1-asm.a] Error 1
make[1]: Leaving directory `/tmp/build/gcc/gcc'
make: *** [all-gcc] Error 2
make: Leaving directory `/tmp/build/gcc'

can anyone help me to solve this problem

Ricky Chan


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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