From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 21 13:36:49 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 7982B106564A for ; Tue, 21 Jul 2009 13:36:49 +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 3378B8FC15 for ; Tue, 21 Jul 2009 13:36:49 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id CF4ED9CB067; Tue, 21 Jul 2009 15:17:46 +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 2sQyTrxj3OEQ; Tue, 21 Jul 2009 15:17:36 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 121159CB13C; Tue, 21 Jul 2009 15:17:36 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.3/8.14.3/Submit) id n6LDHZB6019133; Tue, 21 Jul 2009 15:17:35 +0200 (CEST) (envelope-from rdivacky) Date: Tue, 21 Jul 2009 15:17:35 +0200 From: Roman Divacky To: "Shaowei Wang (wsw)" Message-ID: <20090721131735.GA18929@freebsd.org> References: <2e566b9e0907202134h5568a06bl33a8d95ac9c7f845@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2e566b9e0907202134h5568a06bl33a8d95ac9c7f845@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: Tue, 21 Jul 2009 13:36:49 -0000 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) roman