Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

gnu make

Status
Not open for further replies.

sirron

Programmer
Mar 11, 2004
139
US
Does anyone know how to setup GNU MAKE.
I need step by step.

Also is there a way to find which MAKE utility is being used.

I typed this
$make -version
make: Not a recognized flag: v
usage: make [-einqrst] [-k|-S] [-d[A|adg[1|2]mstv]] [-D variable] [-f makefile ] [variable=value ...] [target ...]
 
hello,

I suggest you download the binary package of make for AIX from :


you should get automake package, and I would recommend to download too the binutils and autoconf package.

to install :
rpm -ivh name_of_the_package.rpm

The binaries will be installed in
/opt/freeware/bin

then add this path to PATH.

With GNU utilites, name_of_the_tool --version gives you some version informations, tough not very precise with make :)

AIX make is brought by the bos.adt.base fileset, check his version number with lslpp -aL | grep 'bos.adt'


To know wich make is invoked by default, you can use :

which make

regards,
 
I need to use the the GNUmake.
The program I am trying to compile will only use GNUmake and not the AIX Make utility.

I need help setting up the GNUmake utility so I can compile the program.

So this is what I am trying to do.

I downloaded this file
make-3.80.tar

I typed at the command line

tar -xvf make-3.80.tar

./configure
make
make install

After this is done there is a make file in the this directory. I don't see the gmake file.

Is this correct? And is there anything else I need to do.

/usr/local/bin/make-3.80
# ls
.deps acinclude.m4 config.h.in function.c loadavg-loadavg.o remote-stub.o
ABOUT-NLS aclocal.m4 config.log function.o loadavg.c rule.c
AUTHORS alloca.c config.status getloadavg.c main.c rule.h
COPYING amiga.c configh.dos getloadavg.o main.o rule.o
ChangeLog amiga.h configure getopt.c make signame.c
INSTALL ar.c configure.bat getopt.h make.1 signame.o
Makefile ar.o configure.in getopt.o make.h stamp-h1
Makefile.DOS arscan.c debug.h getopt1.c make.lnk subproc.bat
Makefile.am arscan.o default.c getopt1.o makefile.com tests
Makefile.ami build.sh default.o gettext.h makefile.vms variable.c
Makefile.in build.sh.in dep.h glob misc.c variable.h
NEWS build_w32.bat dir.c hash.c misc.o variable.o
NMakefile commands.c dir.o hash.h po version.c
README commands.h doc hash.o read.c version.o
README.Amiga commands.o dosbuild.bat implicit.c read.o vmsdir.h
README.DOS config expand.c implicit.o readme.vms vmsfunctions.c
README.W32 config.ami expand.o job.c remake.c vmsify.c
README.customs config.h file.c job.h remake.o vpath.c
SCOPTIONS config.h-vms file.o job.o remote-cstms.c vpath.o
SMakefile config.h.W32 filedef.h loadavg remote-stub.c w32

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top