GCC version in FreeBSD 8.2

Kernel development, writing drivers, coding, and questions regarding FreeBSD internals.

GCC version in FreeBSD 8.2

Postby Twister » 18 Nov 2011, 18:02


Native version is 4.2.2
Why it is so old? There is many gcc versions in ports.
Can I use them to compile kernel/world?
How many problems may arise if I will use gcc from ports?
Junior Member
Posts: 40
Joined: 11 Dec 2009, 08:10
Location: Moscow Russia

Postby kpa » 18 Nov 2011, 18:18

It's old because of the licensing of newer versions of [FILE]gcc[/FILE], 4.2.2 is the last version with a suitable license for FreeBSD.
Stick to the default [FILE]gcc[/FILE] on 8.2 or you will run into major problems. On FreeBSD 9 you have the option to use [FILE]clang[/FILE] to compile world and kernel, however [FILE]clang[/FILE] is not able to compile some of the ports.

Posts: 3399
Joined: 05 Jul 2010, 13:19
Location: People's Technocratic Republic of Finland

Postby OH » 20 Nov 2011, 12:19

Nor is GCC capable of building LibreOffice when kernel and world are build with clang
Posts: 209
Joined: 25 Aug 2009, 09:32
Location: The Netherlands

Return to FreeBSD Development

Who is online

Users browsing this forum: No registered users and 0 guests