From owner-freebsd-hackers@FreeBSD.ORG Sat Jul 1 08:05:26 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 811FC16A412 for ; Sat, 1 Jul 2006 08:05:26 +0000 (UTC) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.10.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id D80F843D45 for ; Sat, 1 Jul 2006 08:05:24 +0000 (GMT) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (localhost [127.0.0.1]) by eva.fit.vutbr.cz (envelope-from xdivac02@eva.fit.vutbr.cz) (8.13.7/8.13.7) with ESMTP id k6185BQL080010 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sat, 1 Jul 2006 10:05:11 +0200 (CEST) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.7/8.13.3/Submit) id k6185B38080009; Sat, 1 Jul 2006 10:05:11 +0200 (CEST) Date: Sat, 1 Jul 2006 10:05:11 +0200 From: Divacky Roman To: Dan Nelson Message-ID: <20060701080511.GA79946@stud.fit.vutbr.cz> References: <000f01c69ca5$02fa8ff0$6400a8c0@s2003> <20060701032139.GB4915@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060701032139.GB4915@dan.emsphone.com> User-Agent: Mutt/1.4.2i X-Scanned-By: MIMEDefang 2.54 on 147.229.10.14 Cc: freebsd-hackers@freebsd.org, Jean-Marc Lienher Subject: Re: Alternative compiler toolchain ? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jul 2006 08:05:26 -0000 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