make and gmake on FreeBSD
Nikola Lecic
nlecic at EUnet.yu
Thu Jul 26 21:04:52 UTC 2007
Hello,
On Thu, 26 Jul 2007 23:26:28 +0300
"Dima Sorkin" <dima.sorkin at gmail.com> wrote:
> Hi.
> I have a FreeBSD 6.2, installed it from the distribution disks, no
> changes by me.
>
> 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 = 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 at 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.
Nikola Lečić
More information about the freebsd-questions
mailing list