From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 22 07:21:58 2009 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C35FD106564A for ; Wed, 22 Jul 2009 07:21:58 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (77-93-215-190.static.masterinter.net [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id 7C9478FC17 for ; Wed, 22 Jul 2009 07:21:57 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 87CFE9CB1EF; Wed, 22 Jul 2009 09:20:07 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LzZDd8ch9d8C; Wed, 22 Jul 2009 09:19:56 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 3A9F19CB408; Wed, 22 Jul 2009 09:19:56 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.3/8.14.3/Submit) id n6M7JuoS090655; Wed, 22 Jul 2009 09:19:56 +0200 (CEST) (envelope-from rdivacky) Date: Wed, 22 Jul 2009 09:19:56 +0200 From: Roman Divacky To: "Shaowei Wang (wsw)" Message-ID: <20090722071956.GA89631@freebsd.org> References: <2e566b9e0907202134h5568a06bl33a8d95ac9c7f845@mail.gmail.com> <20090721131735.GA18929@freebsd.org> <2e566b9e0907211818k1a52ef7am5c681a6f4ffc868c@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2e566b9e0907211818k1a52ef7am5c681a6f4ffc868c@mail.gmail.com> User-Agent: Mutt/1.4.2.3i Cc: hackers@freebsd.org Subject: Re: llvm/clang a tool chain or just a compiler for FreeBSD? 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: Wed, 22 Jul 2009 07:21:59 -0000 On Wed, Jul 22, 2009 at 09:18:46AM +0800, Shaowei Wang (wsw) wrote: > On Tue, Jul 21, 2009 at 9:17 PM, Roman Divacky wrote: > > > On Tue, Jul 21, 2009 at 12:34:29PM +0800, Shaowei Wang (wsw) wrote: > > > Hi, hackers! > > > > > > Recently I am playing the clangbsd i386 branch and it works. I've noticed > > > that clang using gcc to linking object code or even doing assembling. > > > > > > clang from FreeBSD perspective will be a whole compiler tool chain or > > just > > > another C/C++ compiler (may using system's [GNU]as and [GNU]ld) ? > > > > llvm people are working on "mc" which is a native assembler/dissasembler. > > so the only part of the toolchain missing will be linker... now we > > need as/ld (and gnu driver that knows how to talk to them) > > > So what's the direction? Are we going to cut off all the GNU compiler tool > chains and use the llvm/clang when it's mature. there is no official stand on this but I guess the framework to enable optional usage of clang as "cc" instead of gcc might be committed "soon"... but that does not switch anything. there's quite a lot of work still to do (on both fbsd and clang/llvm side). things have stalled a little recently - it's summer, people got distracted, code freeze etc. but at least I am going to push some more work on this after the freeze/summer... this is my personal view not representing anything official in FreeBSD roman