Alternative compiler toolchain ?
xdivac02 at stud.fit.vutbr.cz
Sat Jul 1 08:05:26 UTC 2006
On Fri, Jun 30, 2006 at 10:21:39PM -0500, Dan Nelson wrote:
> In the last episode (Jul 01), Jean-Marc Lienher said:
> > After a (too?) quick look at the FreeBSD source code, I've seen that
> > the GNU compiler toolchain was used to compile the kernel and other
> > part of the OS.
> > I would like to know if there is another compiler toolchain (C
> > compiler, assembler and linker) which is able to build the i386
> > FreeBSD and which is released under the BSD, MIT or any other
> > non-viral license ?
> Luckily gcc's license doesn't apply to the executables it generates :)
> > I've found some other compilers on the web:
> > http://fabrice.bellard.free.fr/tcc/ (LGPL)
> tcc is very fast, probably has the most modern C parser of the lot, and
> might even be able to build world except that the shared binaries it
> generates aren't able to be loaded by our rtld. It looks like tcc only
> emits the bare minimum to get Linux to run the executable, and I don't
> know enough about the ELF format to fill in the blanks.
afaik tendra doesnt support gnu C extensions and our srcs are full of it
so the only possible compilers ATM are gcc and icc
More information about the freebsd-hackers