From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 22 07:30:45 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 3BD23106564A; Wed, 22 Jul 2009 07:30:45 +0000 (UTC) (envelope-from wsw1wsw2@gmail.com) Received: from mail-yx0-f181.google.com (mail-yx0-f181.google.com [209.85.210.181]) by mx1.freebsd.org (Postfix) with ESMTP id CCA018FC15; Wed, 22 Jul 2009 07:30:44 +0000 (UTC) (envelope-from wsw1wsw2@gmail.com) Received: by yxe11 with SMTP id 11so8109yxe.3 for ; Wed, 22 Jul 2009 00:30:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=80xDA8VTRo4Kbh7rhXf+3UwNymd3dwzm0KP7i9bMYjE=; b=oud2wErtWFsjieM+BanS4w666jboUCJk563aJzX0FpjSODToxMlatzgcyeqZNCxP7x rB/VvlwJBtAckiBqWSVNeyN2ULbTypZUV0sZyoaG1ETjm9319gOtCp9asDUGa/Ipuk4W K2PT8JKCW3QiN12DJMhBVpk+h8rNqICXWKw2U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=WZ0Xw3nbAiMRcvGGApq5GZlwdSDhYFBiqQ98XiTidz1CKCEmSwPeDNug9vFMo5KLHd kZVM1d4SBExrueXBw4WFnytAYKE5VxA9uCdudXosrq4cedskHXbvKeJRLfQ5SzkHJek5 pYhWw0GDQfEyMrdnpb+D8575xdP8I1CtZLpjk= MIME-Version: 1.0 Received: by 10.100.110.9 with SMTP id i9mr752027anc.130.1248247844112; Wed, 22 Jul 2009 00:30:44 -0700 (PDT) In-Reply-To: <20090722071956.GA89631@freebsd.org> References: <2e566b9e0907202134h5568a06bl33a8d95ac9c7f845@mail.gmail.com> <20090721131735.GA18929@freebsd.org> <2e566b9e0907211818k1a52ef7am5c681a6f4ffc868c@mail.gmail.com> <20090722071956.GA89631@freebsd.org> Date: Wed, 22 Jul 2009 15:30:44 +0800 Message-ID: <2e566b9e0907220030p6e5f0233qcc527acdd5c55dfc@mail.gmail.com> From: "Shaowei Wang (wsw)" To: Roman Divacky Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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:30:45 -0000 On Wed, Jul 22, 2009 at 3:19 PM, Roman Divacky wrote: > 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"... This sounds great. > > 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... > Yeah, I know. still a lot of work... > > this is my personal view not representing anything official in FreeBSD > > roman >