SH tool chain and lastest snapshot...

Correo Fernando-ruiz (E-mail) correo at
Fri Feb 15 23:56:30 UTC 2002


You can build under Cygwin the tools but not the last version of gcc.

quico at GUSNT ~
$ ls
ang               my-right-boot-20010610         rtems-ss-20010525
archive           my-right-boot-20010610.tar.gz  rtems-ss-20010816
binutils-2.10     network-demos-451-ss-20010831  rtems-ss-20011017
bit               newlib-1.9.0                   rtems-ss-20011025
bit_gdb           patch                          src
bit_rtems         rtems                
build-i386-rtems  rtems-4.5.1-pre2               user.cfg
build-sh-rtems    rtems-packages-19991215        user.cfg~         rtems-ss-20010326              zip
fat12fs           rtems-ss-20010424
gcc-2.95.2        rtems-ss-20010424.tgz

quico at GUSNT ~
$ uname -a
CYGWIN_NT-5.0 GUSNT 1.3.3(0.46/3/2) 2001-09-12 23:54 i686 unknown

It takes too time but works. It depends of your machine.

You don't need Linux to work.
binutils-2.11 was broken for sh the last time that I could try it.

With this you can build the last snapshot (almost the last good snapshot).

You can use the linux instructions to build but with the tricks already
emailed for the


------------- An old email ---------------
Hi Silverio.

 I'm already a sh-rtems cygwin user.

 The recipe is:

      In cygwin /bin directory.

	ln cc.exe gcc.exe
      ln make.exe gmake.exe

	(Ask to Ralph better).

	After this first step touch the registry in order to set
	the key


	in cmdline=%SystemRoot%\system32\ntvdm.exe you need CHANGE THIS
      in order to avoid execute MSDOS programs.
	Renaming ntvdm.exe to ntvdm.exe.old here is enough.

	build your BSP now.

	Once you have compiled successfully undo the changes in the register.

	Bizarre solution but very useful. (It isn't mine)

	Do you want more information?


home: correo at
work: fernando.ruiz at

> -----Mensaje original-----
> De: Silverio Diquigiovanni [mailto:silverio.di at]
> Enviado el: viernes, 15 de febrero de 2002 8:42
> Para: Joel Sherrill
> CC: rtems-users at
> Asunto: Re: SH tool chain and lastest snapshot...
> From: "Joel Sherrill" <joel.sherrill at>
> > I placed pre-built Cygwin tools for the snapshots in
> >
> > All you have to do is download the 3 sh-rtems* files and
> > untar them into /
> Thank you very much...

More information about the users mailing list