Iwao KIMURA on Mon, 09 Nov 1998 22:23:26 +0900


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

tiny fix for Configure (2.0.12.alpha)


Dear developers,

I tried 2.0.12.alpha on FreeBSD 2.2.5. The Configure scripts seems to
be modified (or, in fact, be lowered its version to
2.0.11.beta). Otherwise the as(1) does not return and the Configure
script fall silent. (as -v prints 'GNU assembler version 1.92.3,
FreeBSD $Revision: 1.4 $').

--------------------
amaki: {204} diff -u ./Configure.orig ./Configure
--- ./Configure.orig    Mon Nov  9 21:22:35 1998
+++ ./Configure Mon Nov  9 21:23:22 1998
@@ -649,7 +649,7 @@
   case "$AS" in ?:/*|/*) echo ..."as is $AS";;
       *) echo ..."I could not find as." ;; esac
 fi
-if ($AS --version 2>&1 | grep GNU > /dev/null); then
+if (echo | $AS --version 2>&1 | grep GNU > /dev/null); then
   echo "...Hum, this looks like GNU as"
   gnuas=yes
   case "$osname-$asmarch" in
--------------------

By the way, I got the result of 'make test' as follows (see
getheap). Is this a bug?

--------------------
amaki: {206} cat o.freebsd-ix86.dbg/all-dyn.dif
*** ../src/test/32/all	Sat Nov  7 00:00:27 1998
--- gp.out	Mon Nov  9 21:52:25 1998
***************
*** 2899,2905 ****
  ? znorder(Mod(33,2^16+1))
  2048
  ? getheap
! [630, 130686]
  ? print("Total time spent: ",gettime);
! Total time spent: 19898
  ? \q
--- 2899,2905 ----
  ? znorder(Mod(33,2^16+1))
  2048
  ? getheap
! [630, 130688]
  ? print("Total time spent: ",gettime);
! Total time spent: 166178
  ? \q
amaki: {207} cat o.freebsd-ix86.dbg/all-sta.dif
*** ../src/test/32/all  Sat Nov  7 00:00:27 1998
--- gp.out      Mon Nov  9 21:52:25 1998
***************
*** 2899,2905 ****
  ? znorder(Mod(33,2^16+1))
  2048
  ? getheap
! [630, 130686]
  ? print("Total time spent: ",gettime);
! Total time spent: 19898
  ? \q
--- 2899,2905 ----
  ? znorder(Mod(33,2^16+1))
  2048
  ? getheap
! [630, 130688]
  ? print("Total time spent: ",gettime);
! Total time spent: 166178
  ? \q
--------------------

|           Iwao KIMURA  <iwao@math.tsukuba.ac.jp>            |
|                  Institute of Mathematics,                  |
|           University of TSUKUBA, IBARAKI, JAPAN.            |