Cannot configure rtems-4.5.1-pre3 on Cygwin
Campbell, Richard D (Contractor-OAR)
Richard.Campbell at rdec.redstone.army.mil
Thu Mar 14 21:27:14 UTC 2002
First time poster needs help,
- Untarred i386-rtems-binutils-2.10-3.tar.bz2 and
i386-rtems-gcc-2.95.3-newlib-1.8.2-1.tar.bz2 (/opt/rtems)
- Untarred rtems-4.5.1-pre3.tar into working directory
- PATH=/bin:/usr/bin:/usr/local/bin:/opt/rtems/bin
- /bin/cc is symlinked to /bin/gcc (2.95.3-5 cygwin special)
- autoconf is version 2.13-4
- automake is version 1.4p5-5
cd build-rtems-4.5.1-pre3
../rtems-4.5.1-pre3/configure --target=i386-rtems --prefix=/usr/local/cross
2>&1 | tee conf.log
tail of conf.log
running /bin/sh ../../../../rtems-4.5.1-pre3/c/make/configure
--target=i386-rtems --prefix=/usr/local/cross
--with-target-subdir=i386-rtems --cache-file=.././config.cache
--srcdir=../../../../rtems-4.5.1-pre3/c/make
loading cache .././config.cache
checking for RTEMS Version... 4.5.1-pre1
checking host system type... i386-pc-cygwin32
checking target system type... i386-pc-rtems
checking build system type... i386-pc-cygwin32
checking rtems target cpu... i386
checking for a BSD compatible install... (cached) /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 if cpu i386 is supported... yes
checking for i386-rtems-gcc... /opt/rtems/bin/i386-rtems-gcc
checking whether the C compiler (/opt/rtems/bin/i386-rtems-gcc ) works...
no
configure: error: installation or configuration problem: C compiler cannot
create executables.
configure: error: ../../../../rtems-4.5.1-pre3/c/make/configure failed for
make
configure: error: ../../../rtems-4.5.1-pre3/c/configure failed for c
tail of build-rtems-4.5.1-pre3/i386-rtems/c/make/config.log
configure:1261: /opt/rtems/bin/i386-rtems-gcc -o conftest conftest.c
1>&5
Assembler messages:
Error: Can't open
for reading.
: No such file or directory
configure: failed program was:
#line 1256 "configure"
#include "confdefs.h"
main(){return(0);}
If I create the conftest.c file in a working directory and compile it with
/opt/rtems/bin/i386-rtems-gcc -o conftest conftest.c
I get the same assembler error message
However
/opt/rtems/bin/i386-rtems-gcc -o conftest -S conftest.c
creates conftest.s
and
/opt/rtems/bin/i386-rtems-as conftest.s
creates an a.out
Is the wrong assembler being executed or what?
Thanks,
Richard Campbell
More information about the users
mailing list