This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
libada-mk not found when building Ada front end under MinGW
- From: Wolfgang0815 at gmx dot de
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 06 Dec 2006 11:19:04 +0100
- Subject: libada-mk not found when building Ada front end under MinGW
Hi everyone,
I'm trying to build gcc 4.1.1 under MinGW. When building with "--enable-languages=c,ada" a problem occurs which I can't solve.
Here is a detailed report of what happens:
* Started with: German Win2kSP4
(never touched by MinGW & Co before)
* Execute MinGW-5.0.3.exe, which installs previously
downloaded files to "C:\MinGW":
* binutils-2.15.91-20040904-1.tar.gz
* gcc-ada-3.4.2-20040916-1.tar.gz
* gcc-core-3.4.2-20040916-1.tar.gz
* gcc-g++-3.4.2-20040916-1.tar.gz
* gcc-g77-3.4.2-20040916-1.tar.gz
* gcc-java-3.4.2-20040916-1.tar.gz
* gcc-objc-3.4.2-20040916-1.tar.gz
* mingw32-make-3.80.0-3.tar.gz
* mingw-runtime-3.11.tar.gz
* w32api-3.8.tar.gz
* Execute MSys-1.0.10.exe, which installs itself into
"C:\msys\1.0".
* Start MSYS
Then I execute the following commands at the MSYS prompt:
$ tar xjvf gcc-4.1.1.tar.bz2
$ cd gcc-4.1.1
$ ./configure --prefix=/mingw --enable-languages=c,ada
--with-ld=/mingw/bin/ld.exe --disable-bootstrap
$ make
(The $ denotes the MSYS prompt. The configure command is one line.)
Running the make command gives a lot of output, which ends up in the following lines:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
if [ xinfo = xinfo ]; then \
rm -f doc/gnat_ugn_unw.info*; \
makeinfo --split-size=5000000 --split-size=5000000 --no-split -I../.././gcc/doc/include \
-I../.././gcc/ada -o doc/gnat_ugn_unw.info doc/gnat_ugn_unw.texi; \
else true; fi
doc/gnat_ugn_unw.texi:99: Unknown index `fn' and/or `cp
' in @synindex.
makeinfo: Removing output file `doc/gnat_ugn_unw.info' due to errors; use --force to preserve.
make[2]: *** [doc/gnat_ugn_unw.info] Error 2
make[2]: Leaving directory `/home/Administrator/gcc-4.1.1/host-i686-pc-mingw32/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/home/Administrator/gcc-4.1.1'
make: *** [all] Error 2
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
After searching the web for this problem, I encountered this bug report:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20822
where also a patch is supplied:
http://gcc.gnu.org/bugzilla/attachment.cgi?id=8590&action=view
(is this patch already incorporated in gcc-4.1.1 ?).
I applied this patch to xgnatugn.adb (although the file date given in the patch file doesn't fit the actual file date). I hope this isn't completely wrong.
Running again the process described above (with the same config-line, but the patch applied before the config-command), the make command passes the problem described above, but stops about 35 lines later with this error message:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
make[2]: Entering directory `/home/Administrator/gcc-4.1.1/i686-pc-mingw32/libada'
Makefile:54: ../..//gcc/libada-mk: No such file or directory
make[2]: *** No rule to make target `../..//gcc/libada-mk'. Stop.
make[2]: Leaving directory `/home/Administrator/gcc-4.1.1/i686-pc-mingw32/libada'
make[1]: *** [all-target-libada] Error 2
make[1]: Leaving directory `/home/Administrator/gcc-4.1.1'
make: *** [all] Error 2
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
I can't find anything in the web about this error. Does anyone have an idea?
By the way, "./config.guess" in gcc-directory gives "i686-pc-mingw32".
Thanks for your help in advance,
sorry for my crappy english.
Wolfgang
Wolfgang0815 .at. gmx .dot. de
--
"Ein Herz für Kinder" - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de
Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht!