![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CPAM_TWW -gmake utilities | vasanthan | UNIX for Advanced & Expert Users | 0 | 04-30-2008 12:13 AM |
| gmake For AIX 5.3 | eternalflame | AIX | 2 | 03-10-2008 02:43 AM |
| distinguish the extension of a file | tbeghain | AIX | 2 | 06-13-2007 08:15 AM |
| One Last Question about Core Files (distinguish) URGENT | TRUEST | Shell Programming and Scripting | 2 | 02-18-2003 01:14 PM |
| gmake | Abhishek | UNIX for Dummies Questions & Answers | 1 | 07-26-2001 07:06 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
what is the distinguish between gmake and make?
I am working on solaris 9. and use gmake to compile and linke c/c++ program.
anybody can tell me the distinguish between gmake and make? |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
different software licenses, and gmake has a few extended features.
|
|
#3
|
||||
|
||||
|
On linux gmake and make often are the same:
$ gmake --version GNU Make 3.80 Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ make --version GNU Make 3.80 Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|
#4
|
|||
|
|||
|
thanks. and i found that on solaris gmake and make is not same.
shenzhen{bzhu}$ gmake -version
GNU Make version 3.71, by Richard Stallman and Roland McGrath. Copyright (C) 1988, 89, 90, 91, 92, 93, 94 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. shenzhen{bzhu}$ make -version GNU Make 3.80 Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. But when compile program, they maybe have no difference. right? |
|
#5
|
||||
|
||||
|
It's strange that you have 2 different versions of one product from one vendor. It's a problem that is waiting to happen
|
|
#6
|
||||
|
||||
|
There shouldn't be too many differences in the output of the different versions. But you might want to clean that up so that you have a single version on your system. Use 'pkginfo | grep -i make' to get the names of both the packages, and then pkgrm the version that is not required.
|
|
#7
|
||||
|
||||
|
Solaris always includes the Sun (CCS) make, it is used among other things to build NIS maps. Howerver it does not include c or c++ compilers.
gcc and g++ or rather makefiles designed to work with them tend to work a lot better with gmake than solaris make, so most people who use gcc also install some or all of the other components of the gnu build chain. |
||||
| Google The UNIX and Linux Forums |