Date: Thu, 19 Nov 2015 21:26:43 -0600 From: Will Senn <will.senn@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: gnu make and gcc Message-ID: <564E92F3.9060404@gmail.com> In-Reply-To: <20151120031502.GA10028@ozzmosis.com> References: <564C91DA.3040909@gmail.com> <20151118170424.6f085661.freebsd@edvax.de> <564CEBCB.4060201@gmail.com> <44bnart2dg.fsf@lowell-desk.lan> <20151120031502.GA10028@ozzmosis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/19/15 9:15 PM, andrew clarke wrote: > On Wed 2015-11-18 16:38:03 UTC-0500, Lowell Gilbert (freebsd-questions-local@be-well.ilk.org) wrote: > >>> 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? >> CC=gcc >> (in the makefile) > Alternatively you can avoid modifying the makefile and instead run: > > gmake CC=gcc > > or: > > gmake CC=gcc49 > > and the makefile's $(CC) variable will be overridden from the > command line. (This is also true for BSD Make, and most/all Make > clones.) Thanks, this's exactly what I was looking for.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?564E92F3.9060404>