This doesn't work (from history):
7 23:43 tar zxf gambc-v4_3_1-devel.tgz 9 23:43 cd gambc-v4_3_1-devel 10 23:43 ./configure CC='gcc -mcpu=970 -m64' --enable-single-
host 11 23:44 make -j 2 bootstrap 12 23:48 make update
It fails with
<reconfiguring here>
making all in include cd .. && CONFIG_FILES=include/makefile CONFIG_HEADERS= ./config.status config.status: creating include/makefile major=`echo v4.3.2 | sed -e"s&v([^.]*).([^.]*).([^.]*).*& \1&"`; \ minor=`echo v4.3.2 | sed -e"s&v([^.]*).([^.]*).([^.]* ).*&\2&"`; \ revision=`echo v4.3.2 | sed -e"s&v([^.]*).([^.]*).\ ([^.]*).*&\3&" `; \ version_num=`eval expr "( 100000 \* $major ) + ( 1000 \ * $minor )
- $revision"`; \ echo "#error "The version indicated in ___VERSION is not
supported by gambit.h"" > gambit-not$version_num.h; \ echo "#error "You are probably compiling C code generated by a Gambit compiler earlier or later than v4.3.2"" >> gambit-not $version_num.h; \ echo "#error "___VERSION will be set to $version_num to reduce other errors"" >> gambit-not$version_num.h; \ echo "#undef ___VERSION" >> gambit-not$version_num.h; \ echo "#define ___VERSION $version_num" >> gambit-not $version_num.h; \ echo "#include "gambit.h"" >> gambit-not$version_num.h cd .. && CONFIG_FILES=include/gambit.h CONFIG_HEADERS= ./config.status config.status: creating include/gambit.h making all in lib cd .. && CONFIG_FILES=lib/makefile CONFIG_HEADERS= ./config.status config.status: creating lib/makefile ../gsc-comp -:=.. -f -c -check _io.scm gcc -mcpu=970 -m64 -I../include -I. -no-cpp-precomp -Wall -W -Wno- unused -O1 -fno-math-errno -fschedule-insns2 -fno-trapping-math - fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common - DHAVE_CONFIG_H -D___PRIMAL -D___LIBRARY -D___GAMBCDIR=""/usr/local/ Gambit-C/v4.3.2"" -D___SYS_TYPE_CPU=""powerpc"" - D___SYS_TYPE_VENDOR=""apple"" -D___SYS_TYPE_OS=""darwin9.5.0"" - c _io.c In file included from ../include/gambit.h:12, from _io.c:1278: ../include/gambit-not403002.h:1:2: error: #error "The version indicated in ___VERSION is not supported by gambit.h" ../include/gambit-not403002.h:2:2: error: #error "You are probably compiling C code generated by a Gambit compiler earlier or later than v4.3.2" ../include/gambit-not403002.h:3:2: error: #error "___VERSION will be set to 403002 to reduce other errors" make[2]: *** [_io.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [update] Error 2
Afficher les réponses par date