From: Jerry v. D. <je...@jv...> - 2004-10-09 14:32:31
|
Build of gcc C + Ada now continues to the point where the Ada documents are generated. Is this supposed to work ? =============================================================================== make ada/doctools/xgnatugn.exe make[3]: Entering directory `/d/projects/gnat/build/gcc' mkdir -p ada/doctools cp -p ../../gcc/gcc/ada/xgnatugn.adb ada/doctools cd ada/doctools && gnatmake -q xgnatugn make[3]: Leaving directory `/d/projects/gnat/build/gcc' ada/doctools/xgnatugn unw ../../gcc/gcc/ada/gnat_ugn.texi \ ../../gcc/gcc/ada/ug_words doc/gnat_ugn_unw.texi NO Warnings NO Errors if [ xinfo = xinfo ]; then \ rm -f doc/gnat_ugn_unw.info*; \ makeinfo --split-size=5000000 --no-split -I../../gcc/gcc/doc/include \ -I../../gcc/gcc/ada -o doc/gnat_ugn_unw.info doc/gnat_ugn_unw.texi; \ else true; fi doc/gnat_ugn_unw.texi:92: Unknown index `fn' and/or `cp ' in @synindex. ./doc/gnat_ugn_unw.texi:11211: Cross reference to nonexistent node `Alternative File Naming Schemes'. 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 `/d/projects/gnat/build/gcc' make[1]: *** [stage1_build] Error 2 make[1]: Leaving directory `/d/projects/gnat/build/gcc' make: *** [bootstrap] Error 2 =============================================================================== Local build script I am using: ------------------------------------------------------------------------------- #! /bin/sh # # Build FSF GNAT on jvdsys # assumes gcc-core and gcc-ada are unpacked in subdir 'gcc' # # first check if we are running in msys if [ $OSTYPE != "msys" ]; then echo "*** ERROR: Need to run in msys environment." exit 1; fi # use _only_ msys & mingw ! export PATH=/bin:/usr/bin:/mingw/bin # local definitions GNATDIR=/d/projects/gnat LOGFILE=$GNATDIR/build-gnat.log # save starting directory` set STARTDIR=`pwd` # move to project directory cd $GNATDIR # initialize log file rm -f $LOGFILE touch $LOGFILE # check that source is unpacked if [ ! -d $GNATDIR/gcc/gcc/ada ]; then echo "*** ERROR: FSF/GNAT source not found in gcc subdir."; exit 1; fi # create clean build directory and go to it rm -rf build mkdir build cd build # configure gnat ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as --host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls --enable-languages=c,ada --disable-win32-registry --disable-shared --enable-sjlj-exceptions >> $LOGFILE 2>&1 # Build gnat make CFLAGS="-O2 -fomit-frame-pointer" LDFLAGS=-s bootstrap >> $LOGFILE 2>&1 # done, return to startpoint cd $STARTDIR ------------------------------------------------------------------------------- -- -- Jerry van Dijk -- Leiden, Holland -- -- 'Tradition is not the worship of ashes, but the preservation of fire.' -- Gustav Mahler (1860-1911) |