Skip to content

Anybody please help me in installing g++ compiler on FREENAS (FreeBSD machine)? #59

@gsingh306

Description

@gsingh306

I have mini FreeNAS and I need g++ compiler on it. No pre-installed g++ can be found on my NAS.
Somewhere I read that we need to install gcc49 before installing g++. Is it true?
If yes, then I believe below are the steps to install gcc49 on NAS, but I could not find "lang" or "clang" folder on my NAS. Could not find even portmaster folder.

You can install GCC 4.9 by building it from ports with
cd /usr/port/lang/gcc49; make install clean
or if you have portmaster
portmaster -DHB lang/gcc49
or if you prefer packages with
pkg install lang/gcc49

Could anybody please help me on this ? Need it urgent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions