From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 20:51:17 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 0EC8916A420 for ; Thu, 26 Jul 2007 20:51:17 +0000 (UTC) (envelope-from dima.sorkin@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by mx1.freebsd.org (Postfix) with ESMTP id BE5C513C49D for ; Thu, 26 Jul 2007 20:51:16 +0000 (UTC) (envelope-from dima.sorkin@gmail.com) Received: by py-out-1112.google.com with SMTP id a73so1289259pye for ; Thu, 26 Jul 2007 13:51:15 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=p9R6xWCouzRd9Py9VwUI8MawwQUQ3LLS4C9eNZN3K30GCvdwTTE0ROSq5W2Qru/z5KtBy/VHokeZUOUgvpWFqU67untPNuBTlMc42S8TiDdR9oxmeP4uAOrBolPFZOe6fTBAg7s+d3I9WA5l8NnIRY4m8b7ro+WybVQOkgGWmfA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=rEVVI1ZVMsK3yZlvt8QI+lLdBdxR/CFyVpwU/cKqKM0gmfp6OqVnb0d5qgEaI2R/lyDi37tNHuSuaKytJA+rRJayekxV6OxqoUHftfRtbE8rPz5wWceMK2Hq16BVQPeOQHP0Wdhw91NBKM5nu9KxASOgjY+axc5NLhDGrmcwy3Y= Received: by 10.65.121.9 with SMTP id y9mr3803269qbm.1185481588982; Thu, 26 Jul 2007 13:26:28 -0700 (PDT) Received: by 10.65.139.10 with HTTP; Thu, 26 Jul 2007 13:26:28 -0700 (PDT) Message-ID: Date: Thu, 26 Jul 2007 23:26:28 +0300 From: "Dima Sorkin" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: 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: Thu, 26 Jul 2007 20:51:17 -0000 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. They report that they are the same programm, but in fact they behave completely different. In fact only "gmake" behaves like "GNU make" should behave and only with "gmake" I succeed to build serious projects. What happens here ? What I the "make", where did it come from ? How do I cause to system "make" behave as "gmake" ? Thanks, regards, Dima. 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 program built for i386-portbld-freebsd6.2 [dsorkin@eml5 /usr/home/dsorkin]$ gmake --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 program built for i386-portbld-freebsd6.2 [dsorkin@eml5 /usr/home/dsorkin]$ which make /usr/bin/make [dsorkin@eml5 /usr/home/dsorkin]$ which gmake /usr/local/bin/gmake [dsorkin@eml5 /usr/home/dsorkin]$ diff /usr/bin/make /usr/local/bin/gmake Binary files /usr/bin/make and /usr/local/bin/gmake differ [dsorkin@eml5 /usr/home/dsorkin]$