tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Using pkgsrc gcc
from Robert Swindells:
> How do you make a package use gcc from pkgsrc ?
> Tried setting the following but it is still using /usr/bin/gcc.
> USE_PKGSRC_GCC= yes
> USE_NATIVE_GCC= no
> GCC_REQD+= 8
I believe you would have to adjust PATH, but notice that gcc packages seem to be installed to a subdirectory of /usr/pkg, like /usr/pkg/gcc5 or /usr/pkg/gcc5-aux : not part of the normal PATH. You would have to put /usr/pkg/gcc5-aux/bin, or /usr/pkg/gcc5 , etc, at the front of the PATH, ahead or /usr/bin .
Tom
Home |
Main Index |
Thread Index |
Old Index