From owner-freebsd-questions@freebsd.org Wed Nov 18 21:21:18 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 182EDA32E96 for ; Wed, 18 Nov 2015 21:21:18 +0000 (UTC) (envelope-from will.senn@gmail.com) Received: from mail-yk0-x22f.google.com (mail-yk0-x22f.google.com [IPv6:2607:f8b0:4002:c07::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E28F41FE0 for ; Wed, 18 Nov 2015 21:21:17 +0000 (UTC) (envelope-from will.senn@gmail.com) Received: by ykdr82 with SMTP id r82so84524514ykd.3 for ; Wed, 18 Nov 2015 13:21:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:references:to:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=I77bZN1blBFkz8KpayIUu7ESqPWbOiO4AhQUXdlZw5A=; b=nh/dhiaHrVV9zPG9ZgpH7DUdeLKbF3OY7ICMLXyI3zNFO7P601Pm5orcC0ISox6d+Y vM+FatZzQtmgE2QMZveZxMEX56QFLv394Mp6QEfcrU2IQd69hVeB49iKHNSDcttABuM0 lOcHJcjap6VU2PW/KQH2tBL9ZjVNFomlaCnuaONAxvF6+N+I9FeNaN86UH9gjzVWIJTg id2gnVtwYaZLLn7Z3tpuFiNen3xyEBmMq7JeGxU4oIipklBmFCkkpkwtp2VxNuxLkdAU 3eQede3g6xi96zIGA3SzwMsTt9KOvEnXHb/meUNf8dtRlWWts9Bf39z9nGDS/47WZSzO Dong== X-Received: by 10.129.46.194 with SMTP id u185mr4395764ywu.277.1447881676974; Wed, 18 Nov 2015 13:21:16 -0800 (PST) Received: from [192.168.0.4] ([206.251.219.82]) by smtp.gmail.com with ESMTPSA id g63sm5105173ywg.21.2015.11.18.13.21.16 for (version=TLSv1/SSLv3 cipher=OTHER); Wed, 18 Nov 2015 13:21:16 -0800 (PST) Subject: Re: gnu make and gcc References: <564C91DA.3040909@gmail.com> <20151118170424.6f085661.freebsd@edvax.de> To: freebsd-questions@freebsd.org From: Will Senn Message-ID: <564CEBCB.4060201@gmail.com> Date: Wed, 18 Nov 2015 15:21:15 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20151118170424.6f085661.freebsd@edvax.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2015 21:21:18 -0000 On 11/18/15 10:04 AM, Polytropon wrote: > On Wed, 18 Nov 2015 08:57:30 -0600, Will Senn wrote: >> Is it ok to install gnu make and gcc on FreeBSD 10.2? and is it safe to >> do so? Or, will it cause confusion with the system provided toolset? > Yes, there are ports for both which you can install. For GCC, > the binary will be called gcc or gccXY (where XY is the version), > and GNU make will be called gmake. It will not conflict with > system tools. > OK. So I installed gcc using pkg install gcc49, but when I did gmake on another project's gnu makefile, it fails with 'gmake: gcc: Command not found' I tried creating an alias for gcc, but got the same error. Is there some trick to making make think gcc49 is gcc or do I need to go create symlinks for all of the gwhatever49 files in /usr/local/bin? Which by the way already had gcc48, sheesh. Thanks, Will