From owner-freebsd-questions@FreeBSD.ORG Sat Oct 2 06:26:09 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 991771065670 for ; Sat, 2 Oct 2010 06:26:09 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id 4C6128FC15 for ; Sat, 2 Oct 2010 06:26:08 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id o926Q8tf037761 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 2 Oct 2010 01:26:08 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.4/8.14.4) with ESMTP id o926Q7o8015691 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 2 Oct 2010 01:26:08 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.4/Submit) id o926Q7id015690; Sat, 2 Oct 2010 01:26:07 -0500 (CDT) (envelope-from dan) Date: Sat, 2 Oct 2010 01:26:07 -0500 From: Dan Nelson To: Chetan Shukla Message-ID: <20101002062607.GG40148@dan.emsphone.com> References: <1285967910.14091.81.camel@localhost.localdomain> <20101002060241.GF40148@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 8.1-STABLE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.96 at email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Sat, 02 Oct 2010 01:26:08 -0500 (CDT) X-Scanned-By: MIMEDefang 2.45 Cc: Paul B Mahol , Devin Teske , "freebsd-questions@freebsd.org" Subject: Re: How to check version of Make in FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Oct 2010 06:26:09 -0000 In the last episode (Oct 02), Chetan Shukla said: > Thanks everyone for the guidance. I got the VERSION number as 5200408120 > Does it mean it has make-3.81? No, it means it has make version 5200408120. make-3.81 is GNU make, while FreeBSD uses BSD make. They are mostly compatible, but there are differences (mainly concerning how you include other makefiles, variable expansion, and looping within a makefile). If you need GNU make, you can install it from the ports tree, and it will be called "gmake". > Also could someone provide guidance on How to run code(C C++) written for > Linux/Solaris On FreeBSD machine without changing Makefiles? If it compiles on Solaris it should compile on FreeBSD, since Solaris doesn't use GNU make either. If you're trying to run some open source software, changes are it's already in the ports tee. If not, you can post your problems here and hopefully someone will help. http://www.freebsd.org/ports/ -- Dan Nelson dnelson@allantgroup.com