Buildung Tools for m68k-RTEMS 4.6.99.3 on Cygwin Host

frank.ueberschar at dsa-volgmann.de frank.ueberschar at dsa-volgmann.de
Mon Dec 18 04:27:07 CST 2006


Hallo Ian, 

installing MSYS and MinGW seems to be the 
good way for us. We were using RTEMS 4.5.1 
for years compiling on cygwin. 

My conclusion after a few days of reading 
Howtos and trying is to have left an installation 
of cygwin (at least for bootstrapping rtems and
compiling the old apps) and a working MinGW 
installation too. 

Compiling rtems 4.6.99.3 for m68k seems to work
on the MSYS environment having installed the 
pre-build compilerset from pub/rtems/windows. 

Bootstrap on MSYS does not yet work for me 
as a newer version of automake(1.10) is needed. 


Thank you for your help. 


Regards, 

Frank




> Hi Frank,
> 
> 
> 
> frank.ueberschar at dsa-volgmann.de wrote:
> > Can someone give me a hint on what sources to use
> > to build a compilertoolset to cross-build rtems 4.6.99.3
> > on CYGWIN (win2000) ?
> >  
> > Tries with Sources found on pub/rtems/cygwin/rtems-4.7
> > failed due to errors when configuring rtems:
> >  
> > --------------------------
> > make[2]: Entering directory `/tmp/build/m68k-rtems/c'
> > ...
> >  
> > checking for sys/errno.h... yes
> > configure: error: Required header inttypes.h not found
> > configure: error: /bin/sh 
> > '../../../../../rtems/c/src/../../cpukit/configure' fa
> > iled for ./../cpukit
> > --------------------------
> >  
> > I checked out rtems-4.7-branch from cvs two weeks ago.
> >  
> > The source for the compiler I used were:
> > - rtems-4.7-gcc3.4.0 (from pub/rtems/cygwin/rtems-4.7)
> > - rtems-4.7-binutils-2.15.2 (pub/rtems/cygwin/rtems-4.7 --
> >   (quite different from that mentioned in Getting Started for RTEMS)
> > - newlib1.12.0 (from pub/rtems/SOURCES)
> 
> I am by no means an expert here, but I am sure RTEMS 4.7 uses gcc-4.1.1 
> so even though you have built tools from the RTEMS site, I don't think 
> they will work with 4.7.
> 
> >  
> > The reason why I started building tools myself was mainly because
> > the prebuilt compiler binaries for mingw failed using cygwin-mounted
> > search paths. (Whatever I did wrong...)
> >  
> > I wonder if someone could give me a clue.
> 
> Can you provide more details here, we use the m68k tools, and have hand 
> built both our Cygwin version and Mingw version (currently use).  I have 
> both Cygwin and Mingw on my machine.
> 
> Have you considered using MSYS (mingw) as your build environment, it 
> seems to co-exist better with windows tools than the cygwin environment. 
>   I really only have Cygwin left, as we used to use Cygwin as our build 
> environment and we have legacy products running on RTEMS4.5 and old 
> tools which we have under Cygwin.  Everything new is done under MSYS.
> 
> I hope this helps.
> 
> regards,
> 
> Ian Caddy
> 
> 
> -- 
> Ian Caddy
> Goanna Technologies Pty Ltd
> +61 8 9221 1860
> 
> 


To: ianc at goanna.iinet.net.au
Cc: rtems-users at rtems.org




More information about the rtems-users mailing list