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]

egcs cygwin->mipsel



We decided to use linux as os for our embedded device. This device
runs a microcontroller with R4000 mips core. Until now we developped
under Windows NT. So we have a lot of tools we could't use if we had
to switch to linux and we have other products running pSOS or vxworks
which we develop under Winnt. So we wish to run the toolchain for the
mipsel-linux  (binutils, gcc, gdb) under Winnt. GDB ans Binutils seems
to run already under cygwin. But I have some serious problembs
compiling a xgcc cygwin->mipsel on my cygwin environment. I used the
egcs1.03a (with mips patch) source from oss.sgi.com.
First the cygwin assembler (as) had problems with the -O2 -g flags. So
I overwrote these in the config/mh-cygwin file. Now the make process
stops with the following error messages:

_muldi3
/tmp/cc000518.s: Assembler messages:
/tmp/cc000518.s:15: Error: Unknown pseudo-op:  `.ent'
/tmp/cc000518.s:17: Error: Unknown pseudo-op:  `.frame'
/tmp/cc000518.s:18: Error: Unknown pseudo-op:  `.mask'
/tmp/cc000518.s:19: Error: Unknown pseudo-op:  `.fmask'
/tmp/cc000518.s:20: Error: no such instruction: `subu $sp,$sp,48'
/tmp/cc000518.s:21: Error: no such instruction: `sw $fp,40($sp)'
/tmp/cc000518.s:22: Error: no such instruction: `move $fp,$sp'
/tmp/cc000518.s:23: Error: no such instruction: `sw $4,48($fp)'
/tmp/cc000518.s:24: Error: no such instruction: `sw $5,52($fp)'
/tmp/cc000518.s:25: Error: no such instruction: `sw $6,56($fp)'
/tmp/cc000518.s:26: Error: no such instruction: `sw $7,60($fp)'
/tmp/cc000518.s:27: Error: no such instruction: `lw $2,48($fp)'
/tmp/cc000518.s:28: Error: no such instruction: `lw $3,52($fp)'
/tmp/cc000518.s:29: Error: no such instruction: `sw $2,8($fp)'
/tmp/cc000518.s:30: Error: no such instruction: `sw $3,12($fp)'
/tmp/cc000518.s:31: Error: no such instruction: `lw $2,56($fp)'
/tmp/cc000518.s:32: Error: no such instruction: `lw $3,60($fp)'
/tmp/cc000518.s:33: Error: no such instruction: `sw $2,16($fp)'
/tmp/cc000518.s:34: Error: no such instruction: `sw $3,20($fp)'
/tmp/cc000518.s:35: Error: no such instruction: `lw $8,8($fp)'
/tmp/cc000518.s:36: Error: no such instruction: `lw $9,16($fp)'
/tmp/cc000518.s:38: Error: no such instruction: `multu $8,$9'
/tmp/cc000518.s:40: Error: no such instruction: `mflo $8'
/tmp/cc000518.s:41: Error: no such instruction: `sw $8,36($fp)'
/tmp/cc000518.s:42: Error: no such instruction: `mfhi $8'
/tmp/cc000518.s:43: Error: no such instruction: `sw $8,32($fp)'
/tmp/cc000518.s:44: Error: no such instruction: `lw $2,36($fp)'
/tmp/cc000518.s:45: Error: no such instruction: `sw $2,24($fp)'
/tmp/cc000518.s:46: Error: no such instruction: `lw $2,32($fp)'
/tmp/cc000518.s:47: Error: no such instruction: `sw $2,28($fp)'
/tmp/cc000518.s:48: Error: no such instruction: `lw $2,24($fp)'
/tmp/cc000518.s:49: Error: no such instruction: `lw $3,28($fp)'
/tmp/cc000518.s:50: Error: no such instruction: `sw $2,0($fp)'
/tmp/cc000518.s:51: Error: no such instruction: `sw $3,4($fp)'
/tmp/cc000518.s:52: Error: no such instruction: `lw $2,8($fp)'
/tmp/cc000518.s:53: Error: no such instruction: `lw $3,20($fp)'
/tmp/cc000518.s:54: Error: no such instruction: `mult $2,$3'
/tmp/cc000518.s:55: Error: no such instruction: `mflo $8'
/tmp/cc000518.s:56: Error: no such instruction: `sw $8,36($fp)'
/tmp/cc000518.s:57: Error: no such instruction: `lw $2,12($fp)'
/tmp/cc000518.s:58: Error: no such instruction: `lw $3,16($fp)'
/tmp/cc000518.s:59: Error: no such instruction: `mult $2,$3'
/tmp/cc000518.s:60: Error: no such instruction: `mflo $2'
/tmp/cc000518.s:61: Error: no such instruction: `lw $8,36($fp)'
/tmp/cc000518.s:62: Error: no such instruction: `addu $3,$8,$2'
/tmp/cc000518.s:63: Error: no such instruction: `lw $2,4($fp)'
/tmp/cc000518.s:64: Error: no such instruction: `addu $3,$2,$3'
/tmp/cc000518.s:65: Error: no such instruction: `sw $3,4($fp)'
/tmp/cc000518.s:66: Error: no such instruction: `lw $4,0($fp)'
/tmp/cc000518.s:67: Error: no such instruction: `lw $5,4($fp)'
/tmp/cc000518.s:68: Error: no such instruction: `move $2,$4'
/tmp/cc000518.s:69: Error: no such instruction: `move $3,$5'
/tmp/cc000518.s:70: Error: no such instruction: `j $L1'
/tmp/cc000518.s:72: Error: no such instruction: `move $sp,$fp'
/tmp/cc000518.s:73: Error: no such instruction: `lw $fp,40($sp)'
/tmp/cc000518.s:74: Error: no such instruction: `addu $sp,$sp,48'
/tmp/cc000518.s:75: Error: no such instruction: `j $31'
make[3]: *** [libgcc2.a] Error 1
make[3]: Leaving directory `/usr/local/src/BUILD/gcc/gcc'
make[2]: *** [stmp-multilib-sub] Error 2
make[2]: Leaving directory `/usr/local/src/BUILD/gcc/gcc'
make[1]: *** [stmp-multilib] Error 1
make[1]: Leaving directory `/usr/local/src/BUILD/gcc/gcc'
make: *** [all-gcc] Error 2


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


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