The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
CPAM_TWW -gmake utilities vasanthan UNIX for Advanced & Expert Users 0 04-30-2008 03:13 AM
gmake For AIX 5.3 eternalflame AIX 2 03-10-2008 05:43 AM
distinguish the extension of a file tbeghain AIX 2 06-13-2007 11:15 AM
One Last Question about Core Files (distinguish) URGENT TRUEST Shell Programming and Scripting 2 02-18-2003 04:14 PM
gmake Abhishek UNIX for Dummies Questions & Answers 1 07-26-2001 10:06 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-14-2006
robin.zhu robin.zhu is offline
Registered User
  
 

Join Date: Jul 2006
Posts: 14
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?
  #2 (permalink)  
Old 07-14-2006
Corona688 Corona688 is offline
Registered User
  
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 1,909
different software licenses, and gmake has a few extended features.
  #3 (permalink)  
Old 07-15-2006
Hitori's Avatar
Hitori Hitori is offline Forum Advisor  
Registered User
  
 

Join Date: Jun 2006
Posts: 360
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 (permalink)  
Old 07-18-2006
robin.zhu robin.zhu is offline
Registered User
  
 

Join Date: Jul 2006
Posts: 14
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 (permalink)  
Old 07-18-2006
Hitori's Avatar
Hitori Hitori is offline Forum Advisor  
Registered User
  
 

Join Date: Jun 2006
Posts: 360
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 (permalink)  
Old 07-18-2006
blowtorch's Avatar
blowtorch blowtorch is offline Forum Advisor  
Supporter
  
 

Join Date: Dec 2004
Location: Singapore
Posts: 2,350
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 (permalink)  
Old 07-18-2006
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,190
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.
Sponsored Links
Closed Thread

Bookmarks

Tags
linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 07:30 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0