Problem building cross-compiler on MinGW

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, I have run into problems while trying to build a GCC 4.4.3
cross-compiler for ARM Linux on MinGW.

I used these steps:
./configure --target=arm-linux --enable-languages=c
make

The source code is in /c/gcc-4.4.3. I am building in /c/gccbuild

It seems that gt-c*.h files are not created so the build fails when
source files try to include them. How can I fix this?

Thanks for your attention.

Here is the output from make:

make[1]: Entering directory `/c/gccbuild'
make[2]: Entering directory `/c/gccbuild/libiberty'
make[3]: Entering directory `/c/gccbuild/libiberty/testsuite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/c/gccbuild/libiberty/testsuite'
make[2]: Leaving directory `/c/gccbuild/libiberty'
make[2]: Entering directory `/c/gccbuild/fixincludes'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/c/gccbuild/fixincludes'
make[2]: Entering directory `/c/gccbuild/intl'
rm -f stamp-h1
/c/mingw/bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
test -f config.h || (rm -f stamp-h1 && make stamp-h1)
make[2]: Leaving directory `/c/gccbuild/intl'
make[2]: Entering directory `/c/gccbuild/build-i686-pc-mingw32/libiberty'
make[3]: Entering directory
`/c/gccbuild/build-i686-pc-mingw32/libiberty/testsuite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/c/gccbuild/build-i686-pc-mingw32/libiberty/testsuite'
make[2]: Leaving directory `/c/gccbuild/build-i686-pc-mingw32/libiberty'
make[2]: Entering directory `/c/gccbuild/build-i686-pc-mingw32/fixincludes'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/c/gccbuild/build-i686-pc-mingw32/fixincludes'
make[2]: Entering directory `/c/gccbuild/libcpp'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/c/gccbuild/libcpp'
make[2]: Entering directory `/c/gccbuild/libdecnumber'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/c/gccbuild/libdecnumber'
make[2]: Entering directory `/c/gccbuild/gcc'
gcc -c  -g -O2 -D__USE_MINGW_ACCESS -DIN_GCC
-DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wcast-qual
-Wold-style-definition -Wc++-compat -Wmissing-format-attribute
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
 -DHAVE_CONFIG_H -I. -I. -I/c/gcc-4.4.3/gcc -I/c/gcc-4.4.3/gcc/.
-I/c/gcc-4.4.3/gcc/../include -I./../intl
-I/c/gcc-4.4.3/gcc/../libcpp/include -I/usr/local/include
-I/c/gcc-4.4.3/gcc/../libdecnumber
-I/c/gcc-4.4.3/gcc/../libdecnumber/dpd -I../libdecnumber
/c/gcc-4.4.3/gcc/c-pragma.c -o c-pragma.o
c:/gcc-4.4.3/gcc/c-pragma.c:1203:25: error: gt-c-pragma.h: No such
file or directory

make[2]: *** [c-pragma.o] Error 1
make[2]: Leaving directory `/c/gccbuild/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/c/gccbuild'
make: *** [all] Error 2

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux