compiling egcs for rtems under cygwin32

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


> 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:
> ON
> (c:\Cygnus\B19\H-i386-cygwin32\bin\as.exe 1003) Dumping stack trace to
> 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
> 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
2. Copy c:\Cygnus\B19\H-i386-cygwin32\bin\bash.exe to
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 

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...

Get your free address at

More information about the users mailing list