#! rnews 2233 minix
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!newsfeed.internetmci.com!news.kddnet.ad.jp!newssvt02.tk!newssv2-pcvan!news
From: MSM76750@pcvan.or.jp
Newsgroups: fj.os.minix,comp.os.minix
Subject: [FAKE] How to compile GNU make-3.75 under Minix-2.0
Date: 17 Oct 1996 13:57:08 GMT
Organization: PC-VAN, japan
Lines: 54
Message-ID: <961017230854.15355@pcvan.or.jp>
NNTP-Posting-Host: newssv1.pcvan.or.jp
X-Newsreader: PC-VAN INETNEWS Ver 1.13

----------^ MAKE375M.DIF ( date:96-10-17 time:22:48 ) -----< cut here
Title: GNU make-3.75 *unoffitial* diff for Minix-2.0.0

cd /bin; mv sh sh.old; ln /usr/bin/ash /bin/sh
Install Header files of GCC-1.40 under /usr/local/lib.

In the directory make-3.75, apply this patch.
patch -p1 < ThisFile

CC=cc; export CC; ash configure

vi Makefile
    add '-O -i -m -w -I/usr/include -I/usr/local/lib/gcc-include'
        to CFLAGS, instead of '-g'
    add '-s' to INSTALL_PROGRAM

Then, make (or ash build.sh ...)

        by S.Kimura MSM76750@pcvan.or.jp / MAP5326@mapletown.or.jp


diff -uNr make-3.75.dist/configure make-3.75.mnx/configure
--- make-3.75.dist/configure    Fri Jul 26 02:35:04 1996
+++ make-3.75.mnx/configure     Sat Oct 12 20:05:36 1996
@@ -2935,7 +2935,7 @@
 ac_given_srcdir=$srcdir
 ac_given_INSTALL="$INSTALL"
 
-trap 'rm -fr `echo "Makefile build.sh config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
+trap 'rm -fr `echo Makefile build.sh config.h | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
 EOF
 cat >> $CONFIG_STATUS <<EOF
 
@@ -2981,7 +2981,7 @@
 EOF
 cat >> $CONFIG_STATUS <<EOF
 
-CONFIG_FILES=\${CONFIG_FILES-"Makefile build.sh"}
+CONFIG_FILES=\${CONFIG_FILES-Makefile build.sh}
 EOF
 cat >> $CONFIG_STATUS <<\EOF
 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
@@ -3056,7 +3056,7 @@
 ac_eC=' '
 ac_eD='%g'
 
-CONFIG_HEADERS=${CONFIG_HEADERS-"config.h"}
+CONFIG_HEADERS=${CONFIG_HEADERS-config.h}
 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
   # Support "outfile[:infile]", defaulting infile="outfile.in".
   case "$ac_file" in
----------$ MAKE375M.DIF ( lines:50 ) ----------------------< cut here

(B
