Scarico gcc, uso brew install gcc ma ha detto che il gcc non ha collegato. come collegare il gcc? o cosa dovrei fare?
Quando installi gcc con:
brew install gcc
dovrebbe essere collegato automaticamente. Ma, se per qualche ragione, non lo è. Puoi collegarlo manualmente con:
brew link gcc
Il comando:
brew link --help
fornisce anche alcune informazioni preziose:
brew ln, link [--overwrite] [--dry-run] [--force] formula:
Symlink all of formula's installed files into the Homebrew prefix. This
is done automatically when you install formulae but can be useful for DIY
installations.
If --overwrite is passed, Homebrew will delete files which already exist in
the prefix while linking.
If --dry-run or -n is passed, Homebrew will list all files which would
be linked or which would be deleted by brew link --overwrite, but will not
actually link or delete any files.
If --force (or -f) is passed, Homebrew will allow keg-only formulae to be linked.