RTEMS 4.6.1 on Cygwin "configure:2838: error: C compiler cannot create executables"

Mark Dean M.Dean at sstl.co.uk
Fri Oct 15 14:18:33 UTC 2004


Hi all,

   I've got RTEMS 4.6.1 installed on Cygwin but when I try to build RTEMS with the supplied BSPs I get the following error...

checking for CFLAGS_DEBUG_V... (cached)
checking for CFLAGS_PROFILE_V... (cached)
checking for style of include used by make... GNU
checking for powerpc-rtems-gcc... powerpc-rtems-gcc
checking for powerpc-rtems-gcc... (cached) powerpc-rtems-gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.
make[2]: *** [dmv177] Error 1
make[2]: Leaving directory `/cygdrive/g/apps/cygwin/home/mdean/sde/src/os/rtems4.6.1/build-rtems/powerpc-rtems/c'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/g/apps/cygwin/home/mdean/sde/src/os/rtems4.6.1/build-rtems/powerpc-rtems/c'
make: *** [all-recursive] Error 1



the config.log file contains and error like this...



configure:2765: $? = 0
configure:2767: powerpc-rtems-gcc -V </dev/null >&5
powerpc-rtems-gcc: argument to `-V' is missing
configure:2770: $? = 1
configure:2794: checking for C compiler default output
configure:2797: powerpc-rtems-gcc    conftest.c  >&5
/cygdrive/g/apps/cygwin/opt/rtems-4.6/bin/../lib/gcc-lib/powerpc-rtems/3.2.3/../../../../powerpc-rtems/lib/libc.a: file not recognized: File
 truncated
collect2: ld returned 1 exit status
configure:2800: $? = 1
configure: failed program was:
| #line 2774 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "rtems-c-src"
| #define PACKAGE_TARNAME "rtems-c-src"
| #define PACKAGE_VERSION "4.6.1"
| #define PACKAGE_STRING "rtems-c-src 4.6.1"
| #define PACKAGE_BUGREPORT "rtems-bugs at rtems.com"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2838: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_LDFLAGS_set=''
ac_cv_path_install='/usr/bin/install -c'

   Has anyone come across anything similar before? I don't really know where to start looking to fix the problem! I am happy to email the complete logs to anyone that can help!

      cheers,
         Mark.



More information about the users mailing list