From owner-freebsd-toolchain@FreeBSD.ORG Fri Jun 10 07:41:34 2011 Return-Path: Delivered-To: toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A810106566C for ; Fri, 10 Jun 2011 07:41:34 +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 5CD358FC0C for ; Fri, 10 Jun 2011 07:41:34 +0000 (UTC) Received: by vlakno.cz (Postfix, from userid 1002) id A834F7F387E; Fri, 10 Jun 2011 09:25:12 +0200 (CEST) Date: Fri, 10 Jun 2011 09:25:12 +0200 From: Roman Divacky To: Marcel Moolenaar Message-ID: <20110610072512.GA35144@freebsd.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: toolchain@freebsd.org Subject: Re: llvm-ia64 is off the ground... X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2011 07:41:34 -0000 On Thu, Jun 09, 2011 at 07:20:04PM -0700, Marcel Moolenaar wrote: > [CC toolchain@ -- more eyes is probably better] > > Hi Roman, > > I created the projects branch and committed a skeletal target > for ia64 that's based on MSP430. I also discovered that CLang > needs some target info, so I added that too. > > The branch is: > projects/llvm-ia64 wow :) This is fantastic. > When you have time, feel free to go over it and critique what > I've done. I sure will do! How do you build that? Do I have to build whole freebsd world or is there some easier way? Will "make" in usr.bin/clang work? > My next steps are simple: Fix whatever blocks me from making > progress: > > ns1% cat ~/incr.c > int > incr(int x) > { > return (x + 1); > } > ns1% clang -ccc-host-triple ia64 -S ~/incr.c > 'generic' is not a recognized processor for this target (ignoring processor) You can ignore this for now I think. > error: unable to interface with target machine > 1 error generated. You have to create and register IA64InstPrinter. Check MSP430/InstPrinter/* and and MSP430AsmPrinter.cpp:createMSP430MCInstPrinter(). Should not be hard for you! I'll take some detailed looked in the evening! roman