compiling egcs for rtems under cygwin32

Geoffroy Montel g_montel at yahoo.com
Mon Apr 20 07:36:55 UTC 1998


Hi

> I have been trying to compile egcs for rtems under cygwin32
according to
> the instructions kindly provided by Geoffry Montel and I have run
into a
> problem as shown by the compiler output below :
> 
> ___start___
> 
> 
> _muldi3
> i386-rtems-ar: permission denied
> _divdi3
> (c:\Cygnus\B19\H-i386-cygwin32\bin\as.exe 1003) Exception:
> STATUS_ACCESS_VIOLATI
> ON
> (c:\Cygnus\B19\H-i386-cygwin32\bin\as.exe 1003) Dumping stack trace to
> as.exe.co
> re
> xgcc: Internal compiler error: program as got fatal signal 0
> make[1]: *** [libgcc2.a] Error 1
> make: *** [cross] Error 2
> 
> ___end___
> 
> 
> If anybody knows what this means or how to fix it I'd be grateful for
> any advice. I should say that I am compiling under WinNT exactly as
the
> provided instructions show, but with i386 in place of m68k
throughout, I
> am using the beta 19.1 version of the cygwin32 api.

I didn't try beta 19.1 version, but you may try:

1. Rename c:\Cygnus\B19\H-i386-cygwin32\bin\sh.exe to
c:\Cygnus\B19\H-i386-cygwin32\bin\old_sh.exe
2. Copy c:\Cygnus\B19\H-i386-cygwin32\bin\bash.exe to
c:\Cygnus\B19\H-i386-cygwin32\bin\sh.exe 
3. Copy c:\Cygnus\B19\H-i386-cygwin32\bin\sh.exe to /bin/sh.exe

There was a bug in B19 that prevent rtems to be built correctly and stg
similar happened (egcs compiled successfully without this patch but who 
knows?)

Is the path to i386-rtems- executables in the path ? (although it
seems to) 
What are the privileges on that files (ls -l i386-rtems-*) ?

Hope that's it...

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




More information about the users mailing list