Cygwin host failure during configure...

Fernando RUIZ CASAS (E-mail) fernando.ruiz at ctv.es
Wed Jun 27 13:52:44 UTC 2001


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

      [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WOW]

	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?

Fernando RUIZ CASAS
home:correo at fernando-ruiz.com
work:fernando.ruiz at ctv.es



> -----Mensaje original-----
> De: Silverio Diquigiovanni [mailto:silverio.di at qem.it]
> Enviado el: miércoles, 27 de junio de 2001 10:52
> Para: rtems-users at oarcorp.com
> Asunto: Cygwin host failure during configure...
>
>
> Hi to all,
> I have found a problem during configure phase of RTEMS in Cygwin
> environment.
>
> I have downloaded and installed last version of Cygwin
> environment and I
> have:
>
>      automake --version <cr>
>      autoconf --version <cr>
>      perl --version <cr>
>      make --version <cr>
>
>      automake = 1.4
>      autoconf = 2.13
>      perl = 5.6.1
>      make = 3.79.1
>
> I have downloaded and installed 4.5.0 RPM tool-chain for Cygwin with :
>
>      rpm -i --nodeps --ignoreos
> rtems-base-binutils-2.9.5.0.24-1.i386.rpm
> <cr>
>      rpm -i --nodeps --ignoreos
> rtems-base-gcc-gcc2.95.2newlib1.8.2-7.i386.rpm <cr>
>      rpm -i --nodeps --ignoreos rtems-base-gdb-4.18-4.i386.rpm <cr>
>      rpm -i --nodeps --ignoreos
> sh-rtems-binutils-2.9.5.0.24-1.i386.rpm <cr>
>      rpm -i --nodeps --ignoreos
> sh-rtems-gcc-gcc2.95.2newlib1.8.2-7.i386.rpm
> <cr>
>      rpm -i --nodeps --ignoreos sh-rtems-gdb-4.18-4.i386.rpm <cr>
>
> My RTEMS source code is :
>
>      rtems-4.5.0.tgz
>
> I have modified the .bashrc to:
>
>     #
>     # RTEMS environment
>     #
>
>     # Visibility to egcs binary for sh processors
>
>     export PATH=$PATH:/opt/rtems/bin
>
> This is my directory tree:
>
> /home/SILVERIO_DIQUIGIOVANNI/build/sh-rtems-01/
> /home/SILVERIO_DIQUIGIOVANNI/source/rtems-4.5.0/
>
> Then from ..../build/sh-rtems-01/ I have launched the configurator:
>
> ../../source/rtems-4.5.0/configure \
>     --target=sh-rtems \
>     --prefix=/home/SILVERIO_DIQUIGIOVANNI/rtems-4.5.0/sh-rtems-01/ \
>     --disable-multiprocessing \
>     --disable-posix \
>     --disable-itron \
>     --disable-networking \
>     --disable-rdbg
>     --disable-cxx \
>     --disable-tests
>
> after few configure steps I obtain :
>
> < start snip from output >
>
> /../../../source/rtems-4.5.0/tools/build
> loading cache ../.././config.cache
> checking for RTEMS Version... 4.5.0
> checking host system type... i386-pc-cygwin32
> checking for a BSD compatible install... (cached) /usr/bin/install -c
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... (cached) yes
> checking for working aclocal... found
> checking for working autoconf... found
> checking for working automake... found
> checking for working autoheader... found
> checking for working makeinfo... found
> checking whether to enable maintainer-specific portions of
> Makefiles... no
> checking for Cygwin environment... no
> checking for mingw32 environment... no
> checking for executable suffix... configure: error: installation or
> configuration problem: compiler cannot create executables.
> configure: error: ../../../../source/rtems-4.5.0/tools/build/configure
> failed for tools/build
>
> < end snip from output >
>
> If I launch gcc --version I obtain 2.95.3-5
>
> Someone has some suggestion obout my problem ?
> Thank you in advance
>
> Regards,
> Silverio Diquigiovanni
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SIDVM.reg
Type: application/octet-stream
Size: 2666 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/20010627/55f81bc2/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NODVM.reg
Type: application/octet-stream
Size: 2666 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/20010627/55f81bc2/attachment-0001.obj>


More information about the users mailing list