From owner-freebsd-current@FreeBSD.ORG Sat Jun 25 08:27:15 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E45B106566B for ; Sat, 25 Jun 2011 08:27:15 +0000 (UTC) (envelope-from rdivacky@vlakno.cz) Received: from vlakno.cz (lev.vlakno.cz [46.28.110.116]) by mx1.freebsd.org (Postfix) with ESMTP id 547258FC0C for ; Sat, 25 Jun 2011 08:27:15 +0000 (UTC) Received: by vlakno.cz (Postfix, from userid 1002) id 24A657F3859; Sat, 25 Jun 2011 10:10:56 +0200 (CEST) Date: Sat, 25 Jun 2011 10:10:56 +0200 From: Roman Divacky To: "Hartmann, O." Message-ID: <20110625081056.GA28892@freebsd.org> References: <4E059500.40107@zedat.fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E059500.40107@zedat.fu-berlin.de> User-Agent: Mutt/1.4.2.3i Cc: FreeBSD Current Subject: Re: LLVM: llvm-as, llvm-ld and so on not contained in FreeBSD core contrib? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jun 2011 08:27:15 -0000 On Sat, Jun 25, 2011 at 09:57:52AM +0200, Hartmann, O. wrote: > Hello. > Just for my couriosity: I'm missing llvm-as, llvm-ld and other binutils > from LLVM and was wondering why they are contained in the port's llvm > collection but not in FreeBSD's source contribution. There's no use for these utilities in FreeBSD base system. > I build FreeBSD 9 with CLANG. But as a missing llvm-as and llvm-ld (or > llvm-ar) would imply, the binaries are generated via binutils from > theGNU suite, aren't they? llvm-{as,ld,ar} are not replacements for those from binutils. llvm-* work on the llvm bitcode only and are of no use for normal object files. dim@ made a patch that adds those utilities if you really need them http://lists.freebsd.org/pipermail/freebsd-toolchain/2011-June/000216.html By default when you compile things with clang it uses its own assembler (ie. it goes directly from C -> .o) so typically only gnu ld is used in the compilation chain. roman