Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!mucs!zlsiial From: zlsiial@mcc.ac.uk (A.V. Le Blanc) Newsgroups: comp.sys.hp Subject: Re: GNU Make 3.58 on HP-UX 7.0 ? Message-ID: <1722@m1.cs.man.ac.uk> Date: 20 Sep 90 10:53:21 GMT References: <1990Sep17.201337.15659@bpdsun1.uucp> Sender: news@cs.man.ac.uk Reply-To: zlsiial@cms.mcc.ac.uk (A.V. Le Blanc) Organization: Manchester Computing Centre, Manchester, UK Lines: 24 I have GNU make 3.58 running under HP-UX 7.0. I compiled it with gcc 1.37.1, using either the notive or the non-native version of the compiler; the non-native version produces a smaller binary. In the Makefile I changed CFLAGS from -g to -O and made LDFLAGS null. I set defines = -DUSG -DUSGr3 -DHPUX -DHAVE_SYS_WAIT -DHAVE_DUP2 LOAD_AVG = -DKERNEL_FILE_NAME=\"/hp-ux\" In arscan.c I removed the reference to memcpy (line 39) and the open, close, etc. references (line 48). In default.c I changed line 108 to read "$(COMPILE.p) $<", to make it work with the HP Pascal compiler. In job.c I removed the declarations of fork, wait, and execve (line 77). In make.h I deleted the references to pipe, close, open, etc. (line 128). In remake.c I deleted the references to open, fstat, read, etc. (line 31). No problems have surfaced yet despite heavy use of GNU make. Yours, A. V. Le Blanc refs to pipe, close, open, etc.