From: Earnie B. <ear...@ya...> - 2002-04-22 18:37:07
|
Hmm... Is this a porting issue? The generated config.status file in p/rts is using a ':' character to separate multiple paths within the script. If the target is MINGW32 then config.status should use a `;' for the multipath separator. Changing the appropriate `:' to `;' causes config.status to properly generate the Makefile and header. Earnie. Prof Abimbola Olowofoyeku wrote: > > Hi > > I downloaded the latest 1.0.7 snapshot. It can now build gcc. It also > goes as far as building the GPC binaries, but it fails while building > the GPC runtime library. Below is a log of the output after building > libgcc.a, and then to when the build process stops. In the meantime, I > am reverting to v1.0.6. If you are interested in testing this out, this > is the URL for the latest GPC snapshot: > http://www.gnu-pascal.de/current/gpc-20020410.tar.gz > > Below is the log; > > ----------------------- cut ------------------------ > (cd tmpcopy; ar rc ../tmplibgcc.a *.o) > rm -rf tmpcopy > if [ -f ranlib ] || ( [ "i386-unknown-mingw32" = "i386-unknown-mingw32" > ] && [ - f /usr/bin/ranlib -o -f /bin/ranlib ] ) ; > then \ > ranlib tmplibgcc.a; \ > else true; fi > mv tmplibgcc.a libgcc.a > touch stmp-headers > ../../gcc/p/script/mkdir-p p/rts > src=`cd ../../gcc && pwd` && \ > cd p/rts && \ > CC="`echo c:/src/gcc-2.95.3-20010828/mingw/gcc/xgcc -Bc:/src/gcc-2.95.3- > 20010828 /mingw/gcc/ -B/mingw/mingw32/bin/ - > I/mingw/mingw32/include' ' | sed -e 's,-B\([^ > /][^:]\),-B../../\1,g;s,^\([^/][^:]\),../../\1,'`" PC="`echo ./xgpc - > B./' ' | se d -e 's,-B\([^/][^:]\),- > B../../\1,g;s,^\([^/][^:]\),../../\1,'`" CONFIG_SITE=non > existing-file \ > $src/p/rts/configure --silent > /dev/null --srcdir=$src/p/rts \ > `if [ x@with_shared@ = xyes ]; then echo '--with-shared'; fi` > sed: can't read c: No such file or directory > sed: can't read c:/src/gcc-2.95.3-20010828/gcc/p/rts//src/gcc-2.95.3- > 20010828/gc c/p/rts/Makefile.in: No such file or > directory > cat: c: No such file or directory > cat: c:/src/gcc-2.95.3-20010828/gcc/p/rts//src/gcc-2.95.3- > 20010828/gcc/p/rts/rts -config.in: No such file or > directory > src=`cd ../../gcc && pwd` && \ > cd p/rts && make CC="`echo c:/src/gcc-2.95.3-20010828/mingw/gcc/xgcc - > Bc:/src/gc c-2.95.3-20010828/mingw/gcc/ - > B/mingw/mingw32/bin/ -I/mingw/mingw32/include' ' | > sed -e 's,-B\([^/][^:]\),-B../../\1,g;s,^\([^/][^:]\),../../\1,'`" > PC="`echo ./ xgpc -B./' ' | sed -e 's,- > B\([^/][^:]\),-B../../\1,g;s,^\([^/][^:]\),../../\1,'` > " SCRIPTDIR="$src/p/script" SHELL="/bin/sh" CFLAGS="-s -O2 - > march=i486 -mcpu=i68 6" AR="ar" AR_FLAGS="rc" > RANLIB="ranlib" RANLIB_TEST="[ -f ranlib ] || ( [ "i386 > -unknown-mingw32" = "i386-unknown-mingw32" ] && [ -f > /usr/bin/ranlib -o -f /bin/ ranlib ] )" RTSFLAGS="" > DESTDIR="../.." all > make[2]: Entering directory `c:/src/gcc-2.95.3- > 20010828/mingw/gcc/p/rts' > make[2]: *** No rule to make target `all'. Stop. > make[2]: Leaving directory `c:/src/gcc-2.95.3-20010828/mingw/gcc/p/rts' > make[1]: *** [pascal.rts] Error 2 > make[1]: Leaving directory `c:/src/gcc-2.95.3-20010828/mingw/gcc' > make: *** [all-gcc] Error 2 > ------------- end cut ------------------------------- > > Best regards, The Chief > -------- > Prof. Abimbola A. Olowofoyeku (The African Chief) > web: http://www.bigfoot.com/~African_Chief > email: Afr...@bi... _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |