This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GCC 4.4.0 build Make command fails


The make step fails while trying to build a cross compiler with a host of Windows XP/cygwin and target of PowerPC eabi.  The make command fails within a few seconds so it's got to be something stupidly simple, but after a week I can't figure it out in spite of searching this mailing list and pouring over the installation directions.  Any help would be greatly appreciated.

I downloaded the latest cygwin release with gcc, make, and binutils.  Then downloaded sources: 
  Gcc-4.4.0
  Gmp-4.3.1
  Mpfr-2.4.1
  Newlib-1.10.0
  Binutils-2.12
And unpacked them into a source directory

The configure command - at least to this inexperienced eye - seemed to work, but make fails with output shown below: 

$ make
/bin/sh: line 5: test: too many arguments
/bin/sh: /cygdrive/c/Documents: No such file or directory
make[1]: Entering directory `/cygdrive/c/Documents and Settings/jkeenan/Desktop gcc-obj'
Configuring in ./intl
/bin/sh: /cygdrive/c/Documents: No such file or directory
make[1]: *** [configure-intl] Error 1
make[1]: Leaving directory `/cygdrive/c/Documents and Settings/jkeenan/Desktop/ cc-obj'
make: *** [all] Error 2

Config output 

$ ../gcc-src/configure --with-newlib --enable-languages='c++' --target=powerp eabi checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking target system type... powerpc-unknown-eabi checking for a BSD-compatible install... /usr/bin/install -c checking whether ln works... yes checking whether ln -s works... yes checking to see if cat works as expected... yes checking for gcc... gcc checking for C compiler default output file name... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for gnatbind... no checking for gnatmake... no checking whether compiler driver understands Ada... no checking how to compare bootstrapped objects... tail +16c $$f1 > tmp-foo1; ta
+16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2
checking for version 0.10 of PPL... no
checking for correct version of CLooG... no The following languages will be built: c,c++
*** This configuration is not supported in the following subdirectories:
     target-libmudflap target-libgomp target-libffi target-zlib target-libjav arget-libada gnattools target-libgfortran zlib target-libobjc target-boehm-gc
    (Any other directories should still work fine.) checking for bison... no checking for byacc... no checking for yacc... no checking for bison... no checking for gm4... no checking for gnum4... no checking for m4... no checking for flex... no checking for lex... no checking for flex... no checking for makeinfo... makeinfo checking for expect... no checking for runtest... no checking for ar... ar checking for as... as checking for dlltool... dlltool checking for ld... (cached) /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i68
c-cygwin/bin/ld.exe
checking for lipo... no
checking for nm... nm
checking for ranlib... ranlib
checking for strip... strip
checking for windres... windres
checking for windmc... windmc
checking for objcopy... objcopy
checking for objdump... objdump
checking for powerpc-eabi-cc... no
checking for powerpc-eabi-gcc... no
checking for powerpc-eabi-c++... no
checking for powerpc-eabi-g++... no
checking for powerpc-eabi-cxx... no
checking for powerpc-eabi-gxx... no
checking for powerpc-eabi-gcc... no
checking for powerpc-eabi-gcj... no
checking for powerpc-eabi-gfortran... no checking for ar... no checking for powerpc-eabi-ar... no checking for as... no checking for powerpc-eabi-as... no checking for dlltool... no checking for powerpc-eabi-dlltool... no checking for ld... no checking for powerpc-eabi-ld... no checking for lipo... no checking for powerpc-eabi-lipo... no checking for nm... no checking for powerpc-eabi-nm... no checking for objdump... no checking for powerpc-eabi-objdump... no checking for ranlib... no checking for powerpc-eabi-ranlib... no checking for strip... no checking for powerpc-eabi-strip... no checking for windres... no checking for powerpc-eabi-windres... no checking for windmc... no checking for powerpc-eabi-windmc... no checking where to find the target ar... just compiled checking where to find the target as... pre-installed checking where to find the target cc... just compiled checking where to find the target c++... just compiled checking where to find the target c++ for libstdc++... just compiled checking where to find the target dlltool... just compiled checking where to find the target gcc... just compiled checking where to find the target gcj... pre-installed checking where to find the target gfortran... pre-installed checking where to find the target ld... pre-installed checking where to find the target lipo... pre-installed checking where to find the target nm... just compiled checking where to find the target objdump... just compiled checking where to find the target ranlib... just compiled checking where to find the target strip... just compiled checking where to find the target windres... just compiled checking where to find the target windmc... just compiled checking whether to enable maintainer-specific portions of Makefiles... no checking whether -fkeep-inline-functions is supported... yes
configure: creating ./config.status
config.status: creating Makefile


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]