Date: Sun, 7 Oct 2007 02:56:11 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: James Jeffery <cascadingstylez@googlemail.com> Cc: freebsd-questions@freebsd.org Subject: Re: C++ Compiler On FreeBSD Message-ID: <20071006235610.GD4042@kobe.laptop> In-Reply-To: <972994690710061253q483e26ber68f4716d3202d1fa@mail.gmail.com> References: <972994690710061253q483e26ber68f4716d3202d1fa@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2007-10-06 20:53, James Jeffery <cascadingstylez@googlemail.com> wrote: > Evening to you all (or morning in some parts of the world). > > Im learning C++ from Sams Teach Yourself C++, now many will call this > a dumb method, and the books pointless and stupid, but i have no > knowledge of any lower level languages, so i do need to be spoon fed > the basics. > > Im using Borland C++ compiler on XP and was wondering what compilers > there are for FreeBSD that would allow me to compile and execute some > of the examples i will practise from the book. The base system of FreeBSD includes g++ (the GNU C++ Compiler), and there are several versions of the GNU C++ compiler in the ports too: $ pwd /usr/ports/lang $ ls -ld gcc[0-9]* drwxr-xr-x 3 root wheel - 512 Sep 21 19:51 gcc28 drwxr-xr-x 3 root wheel - 512 Sep 21 19:51 gcc295 drwxr-xr-x 3 root wheel - 512 Sep 21 19:51 gcc32 drwxr-xr-x 3 root wheel - 512 Sep 21 19:51 gcc33 drwxr-xr-x 3 root wheel - 512 Oct 4 18:43 gcc34 drwxr-xr-x 3 root wheel - 512 Sep 21 19:51 gcc40 drwxr-xr-x 3 root wheel - 512 Oct 2 16:32 gcc41 drwxr-xr-x 3 root wheel - 512 Sep 21 19:51 gcc41-withgcjawt drwxr-xr-x 3 root wheel - 512 Oct 2 16:32 gcc42 drwxr-xr-x 3 root wheel - 512 Sep 21 19:51 gcc42-withgcjawt drwxr-xr-x 3 root wheel - 512 Oct 2 16:32 gcc43 $
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071006235610.GD4042>