From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 13:12:40 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED75C16A419 for ; Fri, 27 Jul 2007 13:12:40 +0000 (UTC) (envelope-from lreid@cs.okstate.edu) Received: from a.cs.okstate.edu (a.cs.okstate.edu [139.78.113.1]) by mx1.freebsd.org (Postfix) with ESMTP id CD11A13C45B for ; Fri, 27 Jul 2007 13:12:40 +0000 (UTC) (envelope-from lreid@cs.okstate.edu) Received: from [172.18.0.137] (sky_cpfw-1.tulsatech.org [70.168.226.130]) by a.cs.okstate.edu (Postfix) with ESMTP id EF810A07A8; Fri, 27 Jul 2007 08:12:39 -0500 (CDT) Message-ID: <46A9EF42.1060705@cs.okstate.edu> Date: Fri, 27 Jul 2007 08:12:34 -0500 From: Reid Linnemann User-Agent: Thunderbird 2.0.0.0 (X11/20070615) MIME-Version: 1.0 To: Dima Sorkin References: <200707262104.l6QL4k6f017608@smtpclu-3.eunet.yu> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: make and gmake on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2007 13:12:41 -0000 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'.