Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Mar 2019 03:21:06 +0100
From:      Polytropon <freebsd@edvax.de>
To:        mayuresh@kathe.in
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Was PCC ever considered?
Message-ID:  <20190329032106.520c79ea.freebsd@edvax.de>
In-Reply-To: <cf58b955062e3ca67764121229c73a5d@kathe.in>
References:  <cf58b955062e3ca67764121229c73a5d@kathe.in>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 29 Mar 2019 02:07:05 +0530, Mayuresh Kathe wrote:
> Since FreeBSD uses Clang/LLVM (which is kind-a huge) I wondered if PCC 
> was ever considered during the GCC days or even while contemplating the 
> switch to Clang/LLVM.

When FreeBSD evolved, it was primarily GCC that has been used
as the system compiler, so it became the standard. With Clang/LLVM
offering both evolution in compiler design and implementation, as
well as a licensing difference to GPL-based GCC, it was chosen
to be the current default.

I think PCC wasn't on the map yet at that time... ;-)



> If PCC was considered but rejected, may I know the reasons and rationale 
> for the same?

PCC seems to gain more attraction, primarily due to OpenBSD.
I'm not sure if this project is still alive, but I found this
statement by A. Magnusson:

	The big benefit of it (apart from that it's BSD licensed,
	for license geeks :-) is that it is fast, 5-10 times faster
	than gcc, while still producing reasonable code [...]
	it is also quite simple to port.

Source:

http://undeadly.org/cgi?action=article&sid=20070915195203&mode=expanded




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190329032106.520c79ea.freebsd>