🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #326

funny bug in Make?

#326
From: hugo
Date: Fri, 28 Jul 1989 15:35
28 lines
1715 bytes
I just installed make 3.54 on my system (sun 3, OS4) and it seems to
work fine.  I also installed bash 1.02, and after compiling, linking
and installing bash, saying "make -n install" in the bash directory
gives this output:

gcc -traditional -c  -g -msoft-float -Bstatic -DSUN3 -DTARGET=SUN3 -DSUNOS4 -Ilib/ print_cmd.c -o print_cmd.o
gcc -traditional -c  -g -msoft-float -Bstatic -DSUN3 -DTARGET=SUN3 -DSUNOS4 -Ilib/ execute_cmd.c -o execute_cmd.o
gcc -traditional  -g -msoft-float -Bstatic  -o bash shell.o y.tab.o general.o make_cmd.o print_cmd.o dispose_cmd.o execute_cmd.o variables.o builtins.o copy_cmd.o flags.o jobs.o subst.o glob.o hash.o mailcheck.o test.o trap.o alias.o ./alloc-files/malloc.o  braces.o unwind_prot.o  bashline.o ./lib/libreadline.a ./lib/libhistory.a /lib/libtermcap.a 
mv /usr/local/bin/bash /usr/local/bin/bash.old
cp bash /usr/local/bin/bash
rm -f installed-bash
ln -s /usr/local/bin/bash installed-bash

Compilation finished at Fri Jul 28 11:32:53

When I say "make install" I get 

mv /usr/local/bin/bash /usr/local/bin/bash.old
cp bash /usr/local/bin/bash
rm -f installed-bash
ln -s /usr/local/bin/bash installed-bash

So, the question is, why are there stray compile commands?  There is
either a bug in Make, or the Makefile.

Pete
hugo@sunapee.dartmouth.edu
Technical Details
Message-ID: <14718@dartvax.Dartmouth.EDU>
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!utgpu!watmath!uunet!bu-cs!dartvax!griggs.dartmouth.edu!hugo

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!utgpu!watmath!uunet!bu-cs!dartvax!griggs.dartmouth.edu!hugo
From: hugo@griggs.dartmouth.edu
Newsgroups: gnu.utils.bug
Subject: funny bug in Make?
Message-ID: <14718@dartvax.Dartmouth.EDU>
Date: 28 Jul 89 15:35:07 GMT
Sender: news@dartvax.Dartmouth.EDU
Reply-To: hugo@griggs.dartmouth.edu ()
Distribution: gnu
Organization: Dartmouth College
Lines: 28