I downloaded hebisch-gpc-8249f1b.tar.gz from https://github.com/hebisch/gpc and gcc-core-4.3.5.tar.bz2 from my friendly neighborhood mirror, extracted the source, created the soft links as instructed, applied the patch (gcc-4.3.5.diff) and configured as follows:
../gcc-4.3.5/configure --enable-languages=all --disable-mapped-location \ --program-suffix=435
After much compiling, I get the following:
Checking multilib configuration for libgpc... mkdir -p -- x86_64-unknown-linux-gnu/libgpc Configuring in x86_64-unknown-linux-gnu/libgpc configure: WARNING: unrecognized options: --enable-multilib, --disable-mapped-location, --enable-languages, --with-target-subdir configure: creating cache ./config.cache configure: updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile configure: WARNING: unrecognized options: --enable-multilib, --disable-mapped-location, --enable-languages, --with-target-subdir cat: ../../../gcc-4.3.5/libgpc/../gcc/BASE-VER: No such file or directory make[2]: Entering directory `/usr/local/src/gcc/x86_64-unknown-linux-gnu/libgpc' /usr/local/src/gcc/./gcc/xgcc -B/usr/local/src/gcc/./gcc/ -B/usr/local/x86_64-unknown-linux-gnu/bin/ -B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/x86_64-unknown-linux-gnu/include -isystem /usr/local/x86_64-unknown-linux-gnu/sys-include -dumpmachine > alias_file 2>/dev/null for i in `/usr/local/src/gcc/./gcc/xgcc -B/usr/local/src/gcc/./gcc/ -B/usr/local/x86_64-unknown-linux-gnu/bin/ -B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/x86_64-unknown-linux-gnu/include -isystem /usr/local/x86_64-unknown-linux-gnu/sys-include --print-multi-lib 2>/dev/null`; do \ dir=`echo $i | sed -e 's/;.*$//'`; \ flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \ make CFLAGS="-O2 -g -g -O2 ${flags}" MPREFIX=${dir} build ; \ done cat: ../../../gcc-4.3.5/libgpc/../gcc/BASE-VER: No such file or directory make[3]: Entering directory `/usr/local/src/gcc/x86_64-unknown-linux-gnu/libgpc' make[3]: *** No rule to make target `../../../gcc-4.3.5/libgpc/../gcc/p/rts/Makefile.in', needed by `p/rts/Makefile'. Stop. make[3]: Leaving directory `/usr/local/src/gcc/x86_64-unknown-linux-gnu/libgpc' cat: ../../../gcc-4.3.5/libgpc/../gcc/BASE-VER: No such file or directory make[3]: Entering directory `/usr/local/src/gcc/x86_64-unknown-linux-gnu/libgpc' make[3]: *** No rule to make target `../../../gcc-4.3.5/libgpc/../gcc/p/rts/Makefile.in', needed by `32/p/rts/Makefile'. Stop. make[3]: Leaving directory `/usr/local/src/gcc/x86_64-unknown-linux-gnu/libgpc' make[2]: *** [do_multidirs] Error 2 make[2]: Leaving directory `/usr/local/src/gcc/x86_64-unknown-linux-gnu/libgpc' make[1]: *** [all-target-libgpc] Error 2 make[1]: Leaving directory `/usr/local/src/gcc' make: *** [all] Error 2
The question is, how do I proceed... or more specifically, what is BASE_VER and how do I create it?
config.log is attached.
--------------------------| John L. Ries | Salford Systems | Phone: (619)543-8880 x107 | or (435)867-8885 | --------------------------|
John L. Ries wrote:
I downloaded hebisch-gpc-8249f1b.tar.gz from https://github.com/hebisch/gpc and gcc-core-4.3.5.tar.bz2 from my friendly neighborhood mirror, extracted the source, created the soft links as instructed, applied the patch (gcc-4.3.5.diff) and configured as follows:
../gcc-4.3.5/configure --enable-languages=all --disable-mapped-location \ --program-suffix=435
After much compiling, I get the following:
cat: ../../../gcc-4.3.5/libgpc/../gcc/BASE-VER: No such file or directory make[2]: Entering directory
...
cat: ../../../gcc-4.3.5/libgpc/../gcc/BASE-VER: No such file or directory make[3]: Entering directory `/usr/local/src/gcc/x86_64-unknown-linux-gnu/libgpc' make[3]: *** No rule to make target `../../../gcc-4.3.5/libgpc/../gcc/p/rts/Makefile.in', needed by `p/rts/Makefile'. Stop.
...
The question is, how do I proceed... or more specifically, what is BASE_VER and how do I create it?
BASE_VER is part of gcc source. Did you copy the `libgpc' subdirectory as instructed? If you used symliks for `libgpc', then the path `../../../gcc-4.3.5/libgpc/../gcc/BASE-VER' will lead to wrong place. Normally this symlinks resolves to `../../../gcc-4.3.5/gcc/BASE-VER' which is present in distributed gcc sources.
I indeed used a symlink (as I've always done with the p directory tree). I'll try again tonight, replacing the symlink with a copy and hopefully, that will clear up the issue.
Many thanks to Waldek.
--------------------------| John L. Ries | Salford Systems | Phone: (619)543-8880 x107 | or (435)867-8885 | --------------------------|
On Fri, 20 Apr 2012, Waldek Hebisch wrote:
John L. Ries wrote:
I downloaded hebisch-gpc-8249f1b.tar.gz from https://github.com/hebisch/gpc and gcc-core-4.3.5.tar.bz2 from my friendly neighborhood mirror, extracted the source, created the soft links as instructed, applied the patch (gcc-4.3.5.diff) and configured as follows:
../gcc-4.3.5/configure --enable-languages=all --disable-mapped-location \ --program-suffix=435
After much compiling, I get the following:
cat: ../../../gcc-4.3.5/libgpc/../gcc/BASE-VER: No such file or directory make[2]: Entering directory
...
cat: ../../../gcc-4.3.5/libgpc/../gcc/BASE-VER: No such file or directory make[3]: Entering directory `/usr/local/src/gcc/x86_64-unknown-linux-gnu/libgpc' make[3]: *** No rule to make target `../../../gcc-4.3.5/libgpc/../gcc/p/rts/Makefile.in', needed by `p/rts/Makefile'. Stop.
...
The question is, how do I proceed... or more specifically, what is BASE_VER and how do I create it?
BASE_VER is part of gcc source. Did you copy the `libgpc' subdirectory as instructed? If you used symliks for `libgpc', then the path `../../../gcc-4.3.5/libgpc/../gcc/BASE-VER' will lead to wrong place. Normally this symlinks resolves to `../../../gcc-4.3.5/gcc/BASE-VER' which is present in distributed gcc sources.
-- Waldek Hebisch hebisch@math.uni.wroc.pl
On Fri, 20 Apr 2012, John L. Ries wrote:
I indeed used a symlink (as I've always done with the p directory tree). I'll try again tonight, replacing the symlink with a copy and hopefully, that will clear up the issue.
Many thanks to Waldek.
It works!
--------------------------| John L. Ries | Salford Systems | Phone: (619)543-8880 x107 | or (435)867-8885 | --------------------------|
On Fri, 20 Apr 2012, Waldek Hebisch wrote:
John L. Ries wrote:
I downloaded hebisch-gpc-8249f1b.tar.gz from https://github.com/hebisch/gpc and gcc-core-4.3.5.tar.bz2 from my friendly neighborhood mirror, extracted the source, created the soft links as instructed, applied the patch (gcc-4.3.5.diff) and configured as follows:
../gcc-4.3.5/configure --enable-languages=all --disable-mapped-location \ --program-suffix=435
After much compiling, I get the following:
cat: ../../../gcc-4.3.5/libgpc/../gcc/BASE-VER: No such file or directory make[2]: Entering directory
...
cat: ../../../gcc-4.3.5/libgpc/../gcc/BASE-VER: No such file or directory make[3]: Entering directory `/usr/local/src/gcc/x86_64-unknown-linux-gnu/libgpc' make[3]: *** No rule to make target `../../../gcc-4.3.5/libgpc/../gcc/p/rts/Makefile.in', needed by `p/rts/Makefile'. Stop.
...
The question is, how do I proceed... or more specifically, what is BASE_VER and how do I create it?
BASE_VER is part of gcc source. Did you copy the `libgpc' subdirectory as instructed? If you used symliks for `libgpc', then the path `../../../gcc-4.3.5/libgpc/../gcc/BASE-VER' will lead to wrong place. Normally this symlinks resolves to `../../../gcc-4.3.5/gcc/BASE-VER' which is present in distributed gcc sources.
-- Waldek Hebisch hebisch@math.uni.wroc.pl