- 论坛徽章:
- 0
|
本帖最后由 wangzhen11aaa 于 2011-09-21 16:24 编辑
Linux includes the gnu make program by default but it is called 'make' on linux.
You will definitely need the shell script Gmake.linux to use gmake
on a linux system.
Install it as /usr/bin/Gmake with:
cp Gmake.linux /usr/bin/Gmake
Then compile the system by calling:
/usr/bin/Gmake
or ./Gmake.linux)
Let me give all steps
First:
tar -jxvf calltree-2.3.tar.bz2 |more
calltree-2.3/
calltree-2.3/RULES/
calltree-2.3/RULES/9000-725-hp-ux-cc.rul
calltree-2.3/RULES/9000-725-hp-ux-gcc.rul
calltree-2.3/RULES/MKLINKS
calltree-2.3/RULES/README
calltree-2.3/RULES/alpha-linux-cc.rul
calltree-2.3/RULES/alpha-linux-gcc.rul
calltree-2.3/RULES/aviion-dgux3-cc.rul
calltree-2.3/RULES/aviion-dgux3-gcc.rul
calltree-2.3/RULES/aviion-dgux4-cc.rul
calltree-2.3/RULES/aviion-dgux4-gcc.rul
calltree-2.3/RULES/i386-freebsd-cc.rul
calltree-2.3/RULES/i386-freebsd-gcc.rul
calltree-2.3/RULES/i386-linux-cc.rul
calltree-2.3/RULES/i386-linux-gcc.rul
calltree-2.3/RULES/i486-linux-cc.rul
calltree-2.3/RULES/i486-linux-gcc.rul
calltree-2.3/RULES/i586-linux-cc.rul
calltree-2.3/RULES/mk-.id
calltree-2.3/RULES/i586-linux-gcc.rul
calltree-2.3/RULES/i686-linux-cc.rul
calltree-2.3/RULES/i686-linux-gcc.rul
calltree-2.3/RULES/i86pc-sunos5-cc.rul
calltree-2.3/RULES/i86pc-sunos5-gcc.rul
calltree-2.3/RULES/ip22-irix-cc.rul
calltree-2.3/RULES/man-bsd.def
calltree-2.3/RULES/man-sysv.def
calltree-2.3/RULES/mk-build.id
calltree-2.3/RULES/mk-gmake.id
calltree-2.3/RULES/mk-make.id
calltree-2.3/RULES/mk-smake.id
calltree-2.3/RULES/os-aix.def
calltree-2.3/RULES/os-aix.id
calltree-2.3/RULES/os-dgux.id
calltree-2.3/RULES/os-dgux3.def
calltree-2.3/RULES/os-dgux4.def
calltree-2.3/RULES/os-freebsd.def
calltree-2.3/RULES/os-freebsd.id
calltree-2.3/RULES/os-hp-ux.def
calltree-2.3/RULES/os-hp-ux.id
calltree-2.3/RULES/os-irix.def
calltree-2.3/RULES/os-irix.id
calltree-2.3/RULES/os-linux.def
calltree-2.3/RULES/os-linux.id
calltree-2.3/RULES/os-sunos.id
calltree-2.3/RULES/os-sunos4.def
calltree-2.3/RULES/os-sunos5.def
calltree-2.3/RULES/r-build.dep
calltree-2.3/RULES/r-build.obj
calltree-2.3/RULES/r-build.tag
calltree-2.3/RULES/r-gmake.dep
calltree-2.3/RULES/r-gmake.obj
calltree-2.3/RULES/r-gmake.tag
calltree-2.3/RULES/r-make.dep
calltree-2.3/RULES/r-make.obj
calltree-2.3/RULES/r-make.tag
calltree-2.3/RULES/r-smake.dep
calltree-2.3/RULES/r-smake.obj
calltree-2.3/RULES/r-smake.tag
calltree-2.3/RULES/rs6000-aix-cc.rul
calltree-2.3/RULES/rules.aux
calltree-2.3/RULES/rules.clr
calltree-2.3/RULES/rules.cmd
calltree-2.3/RULES/rules.dep
calltree-2.3/RULES/rules.dir
calltree-2.3/RULES/rules.drv
calltree-2.3/RULES/rules.hlp
calltree-2.3/RULES/rules.ins
calltree-2.3/RULES/rules.lib
calltree-2.3/RULES/rules.loc
calltree-2.3/RULES/rules.man
calltree-2.3/RULES/rules.mkd
calltree-2.3/RULES/rules.mks
calltree-2.3/RULES/rules.mod
calltree-2.3/RULES/rules.obj
calltree-2.3/RULES/rules.prg
calltree-2.3/RULES/rules.scr
calltree-2.3/RULES/rules.shl
calltree-2.3/RULES/rules.tag
calltree-2.3/RULES/rules.top
calltree-2.3/RULES/sparc-linux-cc.rul
calltree-2.3/RULES/sparc-linux-gcc.rul
calltree-2.3/RULES/sun3-sunos4-cc.rul
calltree-2.3/RULES/sun3-sunos4-gcc.rul
calltree-2.3/RULES/sun4-sunos4-cc.rul
calltree-2.3/RULES/sun4-sunos4-gcc.rul
calltree-2.3/RULES/os-netbsd.def
calltree-2.3/RULES/sun4-sunos5-cc.rul
calltree-2.3/RULES/sun4-sunos5-gcc.rul
calltree-2.3/RULES/sun4c-sunos4-cc.rul
calltree-2.3/RULES/sun4c-sunos4-gcc.rul
calltree-2.3/RULES/sun4c-sunos5-cc.rul
calltree-2.3/RULES/sun4c-sunos5-gcc.rul
calltree-2.3/RULES/sun4m-sunos4-cc.rul
calltree-2.3/RULES/sun4m-sunos4-gcc.rul
calltree-2.3/RULES/sun4m-sunos5-cc.rul
calltree-2.3/RULES/sun4m-sunos5-gcc.rul
calltree-2.3/RULES/sun4u-sunos5-cc.rul
calltree-2.3/RULES/sun4u-sunos5-gcc.rul
calltree-2.3/RULES/sun4d-sunos5-cc.rul
calltree-2.3/RULES/sun4d-sunos5-gcc.rul
calltree-2.3/RULES/sun4e-sunos5-cc.rul
calltree-2.3/RULES/sun4e-sunos5-gcc.rul
calltree-2.3/RULES/sun4L-sunos5-cc.rul
calltree-2.3/RULES/sun4L-sunos5-gcc.rul
calltree-2.3/RULES/i386-netbsd-cc.rul
calltree-2.3/RULES/i386-netbsd-gcc.rul
calltree-2.3/RULES/os-netbsd.id
calltree-2.3/RULES/i386-openbsd-cc.rul
calltree-2.3/RULES/i386-openbsd-gcc.rul
calltree-2.3/RULES/os-openbsd.def
calltree-2.3/RULES/os-openbsd.id
calltree-2.3/RULES/sparc-netbsd-cc.rul
calltree-2.3/RULES/sparc-netbsd-gcc.rul
calltree-2.3/RULES/rs6000-aix-gcc.rul
calltree-2.3/RULES/ip30-irix-cc.rul
calltree-2.3/RULES/9000-710-hp-ux-cc.rul
calltree-2.3/RULES/9000-710-hp-ux-gcc.rul
calltree-2.3/RULES/9000-735-hp-ux-cc.rul
calltree-2.3/RULES/9000-735-hp-ux-gcc.rul
calltree-2.3/RULES/9000-755-hp-ux-cc.rul
calltree-2.3/RULES/9000-755-hp-ux-gcc.rul
calltree-2.3/RULES/ip32-irix-cc.rul
calltree-2.3/RULES/m68k-linux-cc.rul
calltree-2.3/RULES/m68k-linux-gcc.rul
calltree-2.3/RULES/ppc-linux-cc.rul
calltree-2.3/RULES/ppc-linux-gcc.rul
calltree-2.3/RULES/os-bsd-os.def
calltree-2.3/RULES/i386-bsd-os-gcc.rul
calltree-2.3/RULES/os-bsd-os.id
calltree-2.3/libschily/stdio/fileopen.c
calltree-2.3/libschily/stdio/fileread.c
calltree-2.3/libschily/stdio/fileseek.c
calltree-2.3/libschily/stdio/filewrite.c
calltree-2.3/libschily/stdio/flag.c
calltree-2.3/libschily/stdio/flush.c
......
calltree-2.3/libschily/stdio/io.h
calltree-2.3/libschily/stdio/niread.c
calltree-2.3/libschily/stdio/openfd.c
calltree-2.3/libschily/stdio/filestat.c
calltree-2.3/libschily/stdio/filesize.c
calltree-2.3/libschily/stdio/fpipe.c
calltree-2.3/libschily/Targets
calltree-2.3/libschily/Makefile
calltree-2.3/libschily/libschily.mk
calltree-2.3/libschily/libschily_p.mk
calltree-2.3/libschily/shlschily.mk
calltree-2.3/libschily/streql.c
calltree-2.3/libschily/fexec.c
calltree-2.3/libschily/strcatl.c
calltree-2.3/libschily/jssnprintf.c
calltree-2.3/libschily/jssprintf.c
calltree-2.3/libschily/astoll.c
calltree-2.3/libschily/strtod.c
calltree-2.3/libschily/seterrno.c
Then after the
(Install it as /usr/bin/Gmake with:
cp Gmake.linux /usr/bin/Gmake
Then compile the system by calling:
/usr/bin/Gmake
or ./Gmake.linux)step
cd calltree-2.3 ,use the Gmake introduction.
#Gmake |more
make: *** No targets specified and no makefile found. Stop.
[root@wangzhen tool]#cd calltree-2.3
[root@wangzhen calltree-2.3]#Gmake |more
==> MAKING "all" ON SUBDIRECTORY "SRCROOT/conf"
make[1]: Entering directory `/home/wangzhen/tool/calltree-2.3/conf'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/wangzhen/tool/calltree-2.3/conf'
==> MAKING "all" ON SUBDIRECTORY "SRCROOT/inc"
make[1]: Entering directory `/home/wangzhen/tool/calltree-2.3/inc'
==> MAKING "all" ON SUBCOMPONENT "SRCROOT/inc/align_test.mk"
make[2]: Entering directory `/home/wangzhen/tool/calltree-2.3/inc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/wangzhen/tool/calltree-2.3/inc'
==> MAKING "all" ON SUBCOMPONENT "SRCROOT/inc/avoffset.mk"
make[2]: Entering directory `/home/wangzhen/tool/calltree-2.3/inc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/wangzhen/tool/calltree-2.3/inc'
make[1]: Leaving directory `/home/wangzhen/tool/calltree-2.3/inc'
==> MAKING "all" ON SUBDIRECTORY "SRCROOT/libschily"
make[1]: Entering directory `/home/wangzhen/tool/calltree-2.3/libschily'
==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libschily/libschily.mk"
make[2]: Entering directory `/home/wangzhen/tool/calltree-2.3/libschily'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/wangzhen/tool/calltree-2.3/libschily'
make[1]: Leaving directory `/home/wangzhen/tool/calltree-2.3/libschily'
==> MAKING "all" ON SUBDIRECTORY "SRCROOT/calltree"
make[1]: Entering directory `/home/wangzhen/tool/calltree-2.3/calltree'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/wangzhen/tool/calltree-2.3/calltree'
==> MAKING "all" ON SUBDIRECTORY "SRCROOT/man"
make[1]: Entering directory `/home/wangzhen/tool/calltree-2.3/man'
==> MAKING "all" ON SUBDIRECTORY "SRCROOT/man/man4"
make[2]: Entering directory `/home/wangzhen/tool/calltree-2.3/man/man4'
==> MAKING "all" ON SUBCOMPONENT "SRCROOT/man/man4/makefiles.mk"
......
ls
AN-2.3 Gmake README README.hpux RULES inc
BUILD Gmake.linux README.SSPM README.linux TARGETS include
COMPILE Gmake.sh README.aix README.linux~ TEMPLATES incs
COPYING INSTALL README.compile README.ppc calltree libs
DEFAULTS Makefile README.gmake README.solaris conf libschily
DEFAULTS_ENG PORTING README.gmake~ README.win32 configure man
如果Makefile:
Gmake Makefile |more
make: Nothing to be done for `Makefile'.
如果先运行./configure
出现:
./configure
configure is no longer used - just type "make", supported make programs are:
smake - The Schily smake program
This is the preferred make program, the source can be
found on ftp://ftp.berlios.de/pub/smake/alpha/
Smake is the only make program with automake features, it is
the only program that works on unknown platforms.
make - SunPRO make (on SunOS/Solaris only)
in /usr/bin/ (SunOS 4.x) or /usr/ccs/bin/ (Solaris)
gmake - GNU make
GNU make will not work correctly on all platforms
and due to some conceptional bugs output several
error messages that are not related to the makefile
system but to GNU make (see README.gmake)
Other make programs will not work, for more information read README.compile
If you have problems and if you are in doubt, try to use smake
Always compile the latest version that can be found on:
ftp://ftp.berlios.de/pub/smake/alpha/ |
|