FW: compiling egcs for rtems under cygwin32

Mike Davies mikert at noco.demon.co.uk
Sat Apr 25 14:41:54 UTC 1998


In message <19980423134734.6025.rocketmail at send1a.yahoomail.com>,
Geoffroy Montel <g_montel at yahoo.com> writes
>> I'm using 2.8.1, not 2.9
>I told you wrong this morning. Do not use 2.8.1.0.18 and try 2.9
>
>Here is what I've just get from David Fiddes:
>
>Victoire!!!
>
>Geoffroy
>--- begin included message ---
>I guess so. I've been building a Win32 RTEMS compiler....actually
>binutils-2.9 builds OK...but only if you use binary mounts(my gcc-m68k
>install program killed them all and I didn't spot this :). I'm off to

I've tried this, binutils-2.9.0.3 does build ok for me too :-)

>build
>the EGCS compiler now...what fun. [...]
>It's really easy...I think that binutils-2.9, egcs-1.0.2, newlib-1.8.0
>and
>all the RTEMS patches actually builds cleanly without stopping or manual
>intervention.... this is a world first! 

No, not for me anyway :-(
I get the same error as before :

trace_egcs_make_cross_err
___start___

(f:\Cygnus\B19\H-i386-cygwin32\bin\as.exe 1063) Exception: STATUS_ACCESS
_VIOLATION(f:\Cygnus\B19\H-i386-cygwin32\bin\as.exe 1063) Dumping stack
trace to as.exe.corexgcc: Internal compiler error: program as got fatal
signal 0make[1]: *** [libgcc2.a] Error 1make: *** [cross] Error 2
____end____


trace_egcs_make_cross
___start___

mv -f cplib2.new cplib2.txt rm -f tmplibgcc2.afor name in _muldi3
_divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 _lshrdi3 _ashldi3 _ashrdi3
_ffsdi2 _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2 _floatdidf _floatdisf
_fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi
_fixxfdi _fixunsxfdi _floatdixf _fixunsxfsi _fixtfdi _fixunstfdi
_floatditf __gcc_bcmp _varargs __dummy _eprintf _op_new _op_vnew
_new_handler _op_delete _op_vdel _bb _shtab _clear_cache _trampoline
__main _exit _ctors _eh  _pure; \do \  echo ${name}; \  /build/gcc/xgcc
-B/build/gcc/ -O2  -DCROSS_COMPILE -DIN_GCC    -g -O2 -I./include   -g1
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fexceptions -Dinhibit_libc  -I. -
I../egcs-1.0.2/gcc -I../egcs-1.0.2/gcc/config -c -DL${name} \
../egcs-1.0.2/gcc/libgcc2.c -o ${name}.o; \  if [ $? -eq 0 ] ; then
true; else exit 1; fi; \  i386-rtems-ar rc tmplibgcc2.a ${name}.o; \  rm
-f ${name}.o; \done_muldi3_divdi3

____end____
>_________________________________________________________
>DO YOU YAHOO!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>

This seems to me to be the same error as before, does anybody know
whether this part of the compile can be ignored ? I'm very new to this
and I don't know my way round at all. Alternatively does anybody know
where I could download a set of NT hosted binaries I could use for RTEMS
development on a pc based host/targe ?

Thanks for your help

Mike



More information about the users mailing list