Freebsd gcc installed but not available -
i new freebsd. have installed gcc unable run it.
root@mybook:/home/accessp # pkg install gcc updating freebsd repository catalogue... ... ... ... new packages installed: gcc: 4.8.3_2
the process require 345 mb more space. 67 mb downloaded.
proceed action? [y/n]: y
fetching gcc-4.8.3_2.txz: 100% 67 mb 84.5k/s 13:52 checking integrity... done (0 conflicting)
[1/1] installing gcc-4.8.3_2: 100%
root@mybook:/home/accessp # gcc
gcc: command not found.
where has gcc been installed? or have additional steps complete installation?
edit
i have seen in /usr/local/bin. not there. have done find gcc , here result:
/usr/libdata/gcc
/usr/local/lib/gcc48/gcc
/usr/local/libdata/ldconfig/gcc
/usr/local/libexec/gcc48/gcc
/usr/include/gcc
/usr/ports/lang/gcc49/work/gcc-4.9-20141015/gcc
/usr/ports/lang/gcc49/work/build/gcc
/usr/ports/lang/gcc
since can install multiple versions of gcc ports, none of them installs gcc, because cause conflicts.
the executable names have suffix appended them based on version. in case, gcc48.
additionally, , depending on shell use might have use rehash command after installing new program make shell aware of it.
Comments
Post a Comment