From owner-freebsd-arm@FreeBSD.ORG Thu Apr 14 02:25:27 2011 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24F79106566B for ; Thu, 14 Apr 2011 02:25:27 +0000 (UTC) (envelope-from marktinguely@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id D6F118FC15 for ; Thu, 14 Apr 2011 02:25:26 +0000 (UTC) Received: by iyj12 with SMTP id 12so1377763iyj.13 for ; Wed, 13 Apr 2011 19:25:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=t7zO5wl8Cgh6dD9pXfQ8dO6oz1xbHQXCOQhIc2ILUDM=; b=WKFeoKIVItBh9lfRV1tz3FEAA9ke9MTKBNi9Ex3ZjlpCQNgTJ9Kq+UagMbGzwNmut+ X0wTR6AUsivXuxKnSFqBl1f81P1H3HkqIKb1X0Le0XvsdybUJQvvAmBv4miAdjR00noH exFFpgIlg3Wp+XQRrNn9NOkOR7kdoBK1RYksE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=uDEnthfkV3BAUm2AAEIZvwr2piI3wlUEz3qXHKOB1BjxYB4qP5IOIy8vu4QhDxnwUd /NhtTwyfyPzV/s8sqr/MJnSqbTsbQDhVvB5E/3OzCwB9byJNpTbqDI7YJUw5YFrpUC8y rdasC8V+sPEvQM2H3g9VUVAsUUI3RNctopYt8= Received: by 10.43.65.136 with SMTP id xm8mr350855icb.34.1302747925555; Wed, 13 Apr 2011 19:25:25 -0700 (PDT) Received: from [192.168.1.100] (c-24-245-26-12.hsd1.mn.comcast.net [24.245.26.12]) by mx.google.com with ESMTPS id y10sm829805iba.46.2011.04.13.19.25.23 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 13 Apr 2011 19:25:24 -0700 (PDT) Message-ID: <4DA65B0F.1040807@gmail.com> Date: Wed, 13 Apr 2011 21:25:19 -0500 From: Mark Tinguely User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: Damjan Marion References: <794721.93419.qm@web112111.mail.gq1.yahoo.com> <574B5BB8-3BD6-4C87-9FC7-9549C02A2FCD@gmail.com> In-Reply-To: <574B5BB8-3BD6-4C87-9FC7-9549C02A2FCD@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-arm@freebsd.org" Subject: Re: LLVM/Clang cross-compiling for ARM X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 02:25:27 -0000 From distant memory, Clang was looking up the current processor and compiled in the assembly options for that architecture (i386). I can't remember if it was still kicking out i386 assembly as well. One idea I had was short-circuit the answer to those architecture queries and return "arm". Has anyone tried to compile Clang on an ARM arch and then build world with that? I suppose that would be a slow development environment. --Mark. On 4/13/2011 5:35 PM, Damjan Marion wrote: > Hi Vassilis, > > On Apr 14, 2011, at 12:02 AM, Vassilis Laganakos wrote: > >> Hello Damjan, >> >> ----- Original Message ----- >>> From:Damjan Marion >>> To:freebsd-arm@freebsd.org >>> Cc: >>> Sent:Sunday, April 10, 2011 5:10 PM >>> Subject:Re: LLVM/Clang cross-compiling for ARM >>> >>> >>> Hi, >>> >>> What is the current status of LLVM/Clang cross-compiling for ARM targets? >>> Is anybody working actively on this? >>> >> I started taking a look into building llvm as cross-compiler >> for ARM and trying to build -CURRENT for an existing port, >> so see how far we get :) >> >> I'm currently stuck a bit in the first step :) As Mark T. pointed >> out in a recent email, llvm in -CURRENT does not cross-build, >> so we have to use an external compiler for now. > What exactly is missing in current version of llvm in -CURRENT? > > After reading some high level overview of llvm i was under impression > that llvm natively supports multiple targets, but seems that I was wrong. > >> I'll hopefully get back soon with some useful info about this... > Cool, please keep us updated. > > Thanks, > > Damjan > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >