Gcc and make not producing executable

Erik Trulsson ertr1013 at student.uu.se
Wed Mar 19 13:42:01 PDT 2008

On Wed, Mar 19, 2008 at 04:23:09PM -0400, Eduardo Cerejo wrote:
> > gmake does the trick.
> Indeed it did.  Can you tell me what the main differences is between make
> and gmake in terms of "making"?  I can see that gmake is gnu's version of
> make, is FreeBSD's gmake the same as linux's make?

gmake is the GNU project's version of 'make'.
The 'make' command installed on Linux systems is usually GNU make.
FreeBSD uses its own version of 'make' and installs GNU make under the name
'gmake' to avoid collision with the native make.

Both GNU make and FreeBSD's make has lots of extensions and extra features
over a "standard" make program.  Unfortunately they have completely
different syntax for these extensions.
This means that while simple makefiles will work equally well on either,
more complicated makefiles will typically work with either one or the other
implementation of make, but rarely with more than one.

<Insert your favourite quote here.>
Erik Trulsson
ertr1013 at student.uu.se

More information about the freebsd-questions mailing list