Compiling/installing RTEMS under Cygwin

Robert S. Grimes rsg at mediaone.net
Mon Feb 18 14:18:08 UTC 2002


Hi,

Thanks!  However, I think I do have them all installed.  If I may hazard a
guess, you are referring to those lines like this:
  > checking for working aclocal... missing
  > checking for working autoconf... missing
  > checking for working automake... missing
  > checking for working autoheader... missing
  > checking for working makeinfo... missing
However, if I enter any of the commands (e.g. aclocal, autoconf, etc.) on
the command line, the specified tool responds!  I think something's not
quite right.

As a potentially related issue, in the "Getting Started with RTEMS for C/C++
Users" appendix on "Using MS-Windows as a Development Host", there is a note
to this effect:

  "There is no cc program by default. The GNU configure
   scripts used by RTEMS require this to be present to work
   properly. The solution is to link gcc.exe to cc.exe. "

However, when I try this, I get the following:

  $ ln gcc.exe cc
  ln: accessing `gcc.exe': No such file or directory

However, if I enter 'gcc' from the command line, it IS there!  Any ideas?

And while we are at this, what is the exact command I should use:

  ln gcc.exe cc                  --As Camilo suggests
  ln gcc.exe cc.exe              --As Getting Started suggests
  ln m68k-rtems-gcc.exe cc       --Target is m68k
  ln m68k-rtems-gcc.exe cc.exe   --Another variant

Thanks for all help!
-Bob

-----Original Message-----
From: Mahesh Revuri [mailto:maheshr at in.ceeyes.com]
Sent: Sunday, February 17, 2002 11:53 PM
To: Robert S. Grimes
Cc: RTEMS Mailing List
Subject: Re: Compiling/installing RTEMS under Cygwin


Hi,
        It seems that your cygwin is not fully configured. While installing
cygwin, enable all in the list of tools to be installed from cygwin
installation
tool.

Mahesh Revuri

"Robert S. Grimes" wrote:

> I'm trying to compile and install RTEMS under Cygwin.  The
crossdevelopment
> tools are installed and working, but when I try the following command, it
> doesn't work:
>
>
../rtems-4.5.0/configure --target=m68k-rtems --disable-posix --disable-tcpip
>  --disable-cxx --enable-rtemsbsp=efi332 --prefix=/opt/rtems
>
> I get the following output from this command:
>
> creating cache ./config.cache
> checking for RTEMS Version... 4.5.0
> checking host system type... i386-pc-cygwin32
> checking target system type... m68k-unknown-rtems
> checking build system type... i386-pc-cygwin32
> checking rtems target cpu... m68k
> checking for a BSD compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... yes
> checking for working aclocal... missing
> checking for working autoconf... missing
> checking for working automake... missing
> checking for working autoheader... missing
> checking for working makeinfo... missing
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking if the test suites are enabled? ... no
> checking if cpu m68k is supported... yes
> updating cache ./config.cache
> creating ./config.status
> creating Makefile
> creating tools/Makefile
> creating make/Makefile
> creating make/custom/Makefile
> creating make/Templates/Makefile
> creating make/compilers/Makefile
> creating doc/Makefile
> configuring in tools/build
> running /bin/sh
>
../../../rtems-4.5.0/tools/build/configure --target=m68k-rtems --disable-pos
>
ix --disable-tcpip --disable-cxx --enable-rtemsbsp=efi332 --prefix=/opt/rtem
>
s --cache-file=../.././config.cache --srcdir=../../../rtems-4.5.0/tools/buil
> d
> 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... missing
> checking for working autoconf... missing
> checking for working automake... missing
> checking for working autoheader... missing
> checking for working makeinfo... missing
> 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: ../../../rtems-4.5.0/tools/build/configure failed for
> tools/build
>
> Does anyone have a clue for me?  Thanks!
>
> -Bob




More information about the users mailing list