Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Oct 2010 01:26:07 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Chetan Shukla <chetan.shukla@aricent.com>
Cc:        Paul B Mahol <onemda@gmail.com>, Devin Teske <dteske@vicor.com>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: How to check version of Make in FreeBSD
Message-ID:  <20101002062607.GG40148@dan.emsphone.com>
In-Reply-To: <DF735188ED91BD458FA0E0C17929339F9553CA23@GUREXMB01.ASIAN.AD.ARICENT.COM>
References:  <DF735188ED91BD458FA0E0C17929339F954A8F32@GUREXMB01.ASIAN.AD.ARICENT.COM> <AANLkTinzFT-EMNZrhccvObE%2BmWMQkJ917xsijUzHGfSP@mail.gmail.com> <1285967910.14091.81.camel@localhost.localdomain> <AANLkTinHLLaEmQLPK8yWkfC_P_JpbkmH6xCuTE6XZh58@mail.gmail.com> <20101002060241.GF40148@dan.emsphone.com> <DF735188ED91BD458FA0E0C17929339F9553CA23@GUREXMB01.ASIAN.AD.ARICENT.COM>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101002062607.GG40148>