Hello,
trying compile GPC for FreeBsd...
Have download packages from your page gpc-2.1.tar.gz gcc-core-2.95.2.tar.gz
Have perform steps 2,3 (Unpacking the source, Configuring and building GCC) as described at http://www.gnu-pascal.de/gpc_51.html#SEC51
When make step 5 Compiling GPC I get this error =================================================================== ... src=`cd /usr/local/mine_sources/gcc-2.95.2/gcc && pwd` && cd /usr/local/mine_sources/gcc-2.95.2/gcc/p/rts && make -f Makefile.in srcdir=. SCRIPTDIR="$src/p/script" SHELL="/bin/sh" CFLAGS="-g -O2" AR="ar" AR_FLAGS="rc" RANLIB="ranlib" RANLIB_TEST="[ -f ranlib ] || ( [ "i386-unknown-freebsdelf" = "i386-unknown-freebsdelf" ] && [ -f /usr/bin/ranlib -o -f /bin/ranlib ] )" RTSFLAGS="" DESTDIR="../.." generated-files src=`cd /usr/local/mine_sources/gcc-2.95.2/gcc && pwd` && cd /usr/local/mine_sources/gcc-2.95.2/gcc/p/rts && make -f Makefile.in srcdir=. SCRIPTDIR="$src/p/script" SHELL="/bin/sh" CFLAGS="-g -O2" AR="ar" AR_FLAGS="rc" RANLIB="ranlib" RANLIB_TEST="[ -f ranlib ] || ( [ "i386-unknown-freebsdelf" = "i386-unknown-freebsdelf" ] && [ -f /usr/bin/ranlib -o -f /bin/ranlib ] )" RTSFLAGS="" DESTDIR="../.." generated-files /usr/local/mine_sources/gcc-2.95.2/gcc/p/script/mkdir-p p/rts src=`cd /usr/local/mine_sources/gcc-2.95.2/gcc && pwd` && cd p/rts && CC="`echo /usr/local/mine_sources/gpc-build/gcc/xgcc -B/usr/local/mine_sources/gpc-build/gcc/ -B/usr/local/i386-unknown-freebsdelf/bin/ -I/usr/local/i386-unknown-freebsdelf/include' ' | sed -e 's,-B([^/][^:]),-B../../\1,g;s,^([^/][^:]),../../\1,'`" PC="`echo ./xgpc -B./' ' | sed -e 's,-B([^/][^:]),-B../../\1,g;s,^([^/][^:]),../../\1,'`" CONFIG_SITE=nonexisting-file $src/p/rts/configure --silent > /dev/null --srcdir=$src/p/rts `if [ x@with_shared@ = xyes ]; then echo '--with-shared'; fi` src=`cd /usr/local/mine_sources/gcc-2.95.2/gcc && pwd` && cd p/rts && make CC="`echo /usr/local/mine_sources/gpc-build/gcc/xgcc -B/usr/local/mine_sources/gpc-build/gcc/ -B/usr/local/i386-unknown-freebsdelf/bin/ -I/usr/local/i386-unknown-freebsdelf/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="-g -O2" AR="ar" AR_FLAGS="rc" RANLIB="ranlib" RANLIB_TEST="[ -f ranlib ] || ( [ "i386-unknown-freebsdelf" = "i386-unknown-freebsdelf" ] && [ -f /usr/bin/ranlib -o -f /bin/ranlib ] )" RTSFLAGS="" DESTDIR="../.." all ../.././xgpc -B../.././ -I. -W -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -g -O2 -DRTS_RELEASE_STRING="'`cat /usr/local/mine_sources/gcc-2.95.2/gcc/p/rts/rts-version`'" --unit-path=/usr/local/mine_sources/gcc-2.95.2/gcc/p/rts --automake --print-needed-options "" 2> "needed-options" || true if grep -v '^--' "needed-options" > /dev/null; then echo "needed-options: `cat "needed-options"`"; rm -f "needed-options"; false; else true; fi needed-options: xgpc: : No such file or directory xgpc: No input files *** Error code 1
Stop in /usr/local/mine_sources/gpc-build/gcc/p/rts. *** Error code 1
Stop in /usr/local/mine_sources/gpc-build/gcc. *** Error code 1
Stop in /usr/local/mine_sources/gpc-build. ===================================================================
Can you help me with any suggestion?
Thank you
Michael Kochiashvili wrote:
trying compile GPC for FreeBsd...
Have download packages from your page gpc-2.1.tar.gz gcc-core-2.95.2.tar.gz
Have perform steps 2,3 (Unpacking the source, Configuring and building GCC) as described at http://www.gnu-pascal.de/gpc_51.html#SEC51
When make step 5 Compiling GPC I get this error
[...]
../.././xgpc -B../.././ -I. -W -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -g -O2 -DRTS_RELEASE_STRING="'`cat /usr/local/mine_sources/gcc-2.95.2/gcc/p/rts/rts-version`'" --unit-path=/usr/local/mine_sources/gcc-2.95.2/gcc/p/rts --automake --print-needed-options "" 2> "needed-options" || true if grep -v '^--' "needed-options" > /dev/null; then echo "needed-options: `cat "needed-options"`"; rm -f "needed-options"; false; else true; fi needed-options: xgpc: : No such file or directory xgpc: No input files *** Error code 1
Can you help me with any suggestion?
Hmm, is there a file `xgpc' anywhere, if so in which directory?
What was your exact `configure' invocation?
Frank