Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jul 2007 08:12:34 -0500
From:      Reid Linnemann <lreid@cs.okstate.edu>
To:        Dima Sorkin <dima.sorkin@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: make and gmake on FreeBSD
Message-ID:  <46A9EF42.1060705@cs.okstate.edu>
In-Reply-To: <e40293600707261437k4f0cf998k3be9d1030c959d43@mail.gmail.com>
References:  <e40293600707261326x2f65e4a6p46361ae20ab79fc8@mail.gmail.com>	<200707262104.l6QL4k6f017608@smtpclu-3.eunet.yu> <e40293600707261437k4f0cf998k3be9d1030c959d43@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Written by Dima Sorkin on 07/26/07 16:37>>
> Hi.
> Thank you very much. See below.
> Regards, Dima.
> 
> On 7/27/07, Nikola Lecic  wrote:
> 
>> No, make (BSD make) is a part of FreeBSD, gmake (GNU make) is a
>> third-party application, available through devel/gmake port.
>> They _are_ different.
> Yes, I forgot there was an alias. See at the bottom of the message.
> 
>> > and only with "gmake" I succeed to build serious projects.
>>
>> This is very interesting observation, could you expand on this?
> 
> Well, I don't want to make claims without basis, as it is based only
> on my memories :).
> I so completely switched to gmake during the winter that I even forgot
> I have an alias.
> 
> I didn't succeeded to compile projects from my univ studies, but I
> afraid I use all those gnu extensions. I _think_ I didn't succeeded to
> compile the DEAL.II lib without gmake.
> These are projects that don't use the "recursive make" paradigm, at 
> least not in
> all places. They "-include" makefiles from lower hierarchies, but I
> afraid gnu extension
> sit there in every place. Not shure, though ...
> 
> 
> [dsorkin@eml5 /usr/home/dsorkin]$ /usr/bin/make --version
> make: illegal option -- -
> usage: make [-BPSXeiknqrstv] [-C directory] [-D variable]
>        [-d flags] [-E variable] [-f makefile] [-I directory]
>        [-j max_jobs] [-m directory] [-V variable]
>        [variable=value] [target ...]
> [dsorkin@eml5 /usr/home/dsorkin]$ alias make
> alias make='gmake'
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@freebsd.org"

Lots of software sources are configured with GNU autotools, which is why 
a lot of third party software will only compile with GNU make. In the 
case of dealii, not only are its sources configured with autotools, but 
I looked at their docs and at http://www.dealii.org/developer/index.html 
you can plainly see that they "use GNU make, version 3.78 or later".

I'm not sure where the confusion is ... but it seems like you think you 
  have to invoke GNU make under the moniker 'make'. But you don't, it's 
just a Linux convention to have GNU make installed as 'make'.



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