FW: How to check version of Make in FreeBSD
Paul B Mahol
onemda at gmail.com
Fri Oct 1 22:33:21 UTC 2010
On 10/1/10, Devin Teske <dteske at vicor.com> wrote:
> On 10/1/10, Chetan Shukla <chetan.shukla at aricent.com> wrote:
>> > I need to check the version of Make installed in FreeBSD.
>> > make -v does not help here.
>> > What is the similar command in FreeBSD ?
>>
>> On Fri, 2010-10-01 at 18:33 +0000, Paul B Mahol wrote:
>> gmake. On serious side there is no way to find version and
>> freebsd make havent changed much in years...
>
> On the command-line...
>
> strings `which make` | grep -B1 MAKE_VERSION
>
> Or in a makefile...
>
> /usr/tmp/Makefile:
> all:
> @echo "MAKE_VERSION='$(MAKE_VERSION)'"
>
> make
> MAKE_VERSION='5200408120'
Nice.
>
> --
> Cheers,
> Devin Teske
>
> -> CONTACT INFORMATION <-
> Business Solutions Consultant II
> FIS - fisglobal.com
> 510-735-5650 Mobile
> 510-621-2038 Office
> 510-621-2020 Office Fax
> 909-477-4578 Home/Fax
> devin.teske at fisglobal.com
>
> -> LEGAL DISCLAIMER <-
> This message contains confidential and proprietary information
> of the sender, and is intended only for the person(s) to whom it
> is addressed. Any use, distribution, copying or disclosure by any
> other person is strictly prohibited. If you have received this
> message in error, please notify the e-mail sender immediately,
> and delete the original message without making a copy.
>
> -> END TRANSMISSION <-
>
>
More information about the freebsd-questions
mailing list