Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2007 23:00:06 +0200
From:      Nikola Lecic <nlecic@EUnet.yu>
To:        "Dima Sorkin" <dima.sorkin@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: make and gmake on FreeBSD
Message-ID:  <200707262104.l6QL4k6f017608@smtpclu-3.eunet.yu>
In-Reply-To: <e40293600707261326x2f65e4a6p46361ae20ab79fc8@mail.gmail.com>
References:  <e40293600707261326x2f65e4a6p46361ae20ab79fc8@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Hello,

On Thu, 26 Jul 2007 23:26:28 +0300
"Dima Sorkin" <dima.sorkin@gmail.com> wrote:

> Hi.
>  I have a FreeBSD 6.2, installed it from the distribution disks, no
> changes by me.
>=20
> There is a "make" and a "gmake" installed on it.

No, make (BSD make) is a part of FreeBSD, gmake (GNU make) is a
third-party application, available through devel/gmake port.

> They report that they are the same programm, but in fact they behave
> completely different.

They _are_ different.

> In fact only "gmake" behaves like "GNU make" should behave

gmake =3D GNU make.

> and only with "gmake" I succeed to build serious projects.

This is very interesting observation, could you expand on this?

>  What happens here ?  What I the "make", where did it come from ?

Nothing, it happens that you installed FreeBSD. The better question is
where GNU make came from :)

> How do I cause to system "make" behave as "gmake" ?

Why would you like to do it?

> P.S.  see their output:
> [dsorkin@eml5 /usr/home/dsorkin]$ make --version
> GNU Make 3.81
> Copyright (C) 2006  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.

This is not default behaviour in FreeBSD.
=20
Nikola Le=C4=8Di=C4=87



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?200707262104.l6QL4k6f017608>