Problems during configuration according MinGW and RTEMS!

Stefan.Pusl at comneon.com Stefan.Pusl at comneon.com
Fri Jan 5 13:27:58 UTC 2007


Hello,

I read in the document "Getting Started with RTEMS" (chapter "Using
MS-Windows as a Development Host"), that I have to provide a cc program
by default. So I tried again with the command:

ln -s i386-rtems4.7-gcc.exe cc.exe 

As I understood from MinGW, "i386-rtems4.7-gcc.exe" is my nativ
compiler. But I got the same problem:

sh ../rtems-4.6.99.3/configure --enable-rtemsbsp=posix
checking for gmake... no
checking for make... make
checking for RTEMS Version... 4.6.99.3
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles...
no
configure: creating ./config.status
configure: configuring in ./tools/build
configure: running /bin/sh
'../../../rtems-4.6.99.3/tools/build/configure' '--pr
efix=/opt/rtems-4.7' '--host=i686-pc-mingw32' '--build=i686-pc-mingw32'
'--enab
le-rtemsbsp=posix' '--target=i686-pc-mingw32'  '--cache-file=/dev/null'
'--srcdi
r=../../../rtems-4.6.99.3/tools/build'
checking for gmake... no
checking for make... make
checking for RTEMS Version... 4.6.99.3
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles...
no
checking for i686-pc-mingw32-gcc... no
checking for gcc... no
checking for i686-pc-mingw32-cc... no
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C
compiled
 programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
configure: error: /bin/sh
'../../../rtems-4.6.99.3/tools/build/configure' failed
 for tools/build

Best regards

Stefan


-----Original Message-----
From: Ralf Corsepius [mailto:ralf.corsepius at rtems.org] 
Sent: Friday, January 05, 2007 1:36 PM
To: Pusl Stefan (CN SWM PS1)
Cc: rtems-users at rtems.org
Subject: Re: Problems during configuration according MinGW and RTEMS!

On Fri, 2007-01-05 at 13:29 +0100, Stefan.Pusl at comneon.com wrote:
> Hello,
> 
> I have installed MinGW, using the Windows installer 
> "rtems4.7-i386-3.exe". Further I installed MYSYS (version 1.0). Then I

> created a symbolic link for gcc:
> 
> ln -s i386-rtems4.7-gcc.exe gcc.exe
Why? Don't do this - This simply wrong.

"gcc" is supposed to be your native compiler, while "i386-rtems4.7-gcc"
is a cross-compiler targetting i386-rtems4.7. They are completely
different beasts.


Ralf




More information about the users mailing list