gnu make and gcc

Lowell Gilbert freebsd-questions-local at
Wed Nov 18 21:46:13 UTC 2015

Will Senn <will.senn at> writes:

> 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.

If you mean "symbolic link" when you said alias, then yes, that should
have changed the behaviour.

>        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?

(in the makefile)

The gmake manual (in info) will help you out on these things.

> /usr/local/bin? Which by the way already had gcc48, sheesh.

Something else you installed must have needed gcc. gcc48 is the
currently default version of gcc in the ports system.

More information about the freebsd-questions mailing list