I want to use GNUC++ compiler on GhostBSD

Post your general questions or comments about GhostBSD here!
Post Reply
gnubsdguy
Posts: 4
Joined: Sat May 02, 2020 3:15 pm

I want to use GNUC++ compiler on GhostBSD

Post by gnubsdguy »

Hi hello just one simple question, i want to do some cross platform development (Linux/FreeBSD/GhostBSD) but most FreeBSD now comes with a Clang C++ compliler (which I dont know so much how to use) and since I have been trying to compile some source c++ with make I just get some errors then I would like to use GNU C++ compiler, I have seen some forums it is posible to do it but which are the steps i need to follow to change GNU C++ compiler as my default or change the Clang compiler which I dont know so much.
User avatar
ericbsd
Developer
Posts: 2052
Joined: Mon Nov 19, 2012 7:54 pm

Re: I want to use GNUC++ compiler on GhostBSD

Post by ericbsd »

You can install gcc on GhostBSD.
gnubsdguy
Posts: 4
Joined: Sat May 02, 2020 3:15 pm

Re: I want to use GNUC++ compiler on GhostBSD

Post by gnubsdguy »

Ok, yes I known how to install but what about how I can change GNU C++ as a default on GhostBSD ?. :)
Post Reply