From owner-freebsd-ia64 Fri Sep 27 6: 6:16 2002 Delivered-To: freebsd-ia64@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD7DB37B401 for ; Fri, 27 Sep 2002 06:06:14 -0700 (PDT) Received: from soleil.uvsq.fr (soleil.uvsq.fr [193.51.24.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1311E43E7B for ; Fri, 27 Sep 2002 06:06:07 -0700 (PDT) (envelope-from hpc@prism.uvsq.fr) Received: from lucifer.prism.uvsq.fr (lucifer.prism.uvsq.fr [193.51.25.7]) by soleil.uvsq.fr (8.12.3/jtpda-5.4) with ESMTP id g8RD6114040585 ; Fri, 27 Sep 2002 15:06:01 +0200 (CEST) Received: from vlaminck.prism.uvsq.fr (vlaminck.prism.uvsq.fr [193.51.25.77]) by lucifer.prism.uvsq.fr (8.9.1a/jtpda-5.3.2) with ESMTP id PAA08204 ; Fri, 27 Sep 2002 15:06:14 +0200 (MET DST) Received: from vlaminck.prism.uvsq.fr (localhost [127.0.0.1]) by vlaminck.prism.uvsq.fr (8.12.3/jtpda-5.2) with ESMTP id g8RD60SJ031040 ; Fri, 27 Sep 2002 15:06:00 +0200 (CEST) Received: (from hpc@localhost) by vlaminck.prism.uvsq.fr (8.12.3/8.12.3/Submit) id g8RD5vLX031039; Fri, 27 Sep 2002 15:05:57 +0200 (CEST) Date: Fri, 27 Sep 2002 15:05:57 +0200 From: Henri-Pierre CHARLES To: Espen Skoglund Cc: Henri-Pierre CHARLES , FreeBSD-ia64@freebsd.org Subject: Re: Build cross gcc i386 -> ia64 Message-ID: <20020927150556.A30928@vlaminck.prism.uvsq.fr> References: <20020830180256.F4285@gibet.prism.uvsq.fr> <15728.55243.795089.96742@i30nb20.ira.uka.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <15728.55243.795089.96742@i30nb20.ira.uka.de>; from esk@ira.uka.de on Sat, Aug 31, 2002 at 04:50:51PM +0200 Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, Le Sat, Aug 31, 2002 at 04:50:51PM +0200, Espen Skoglund écrivait : > > Is somewhere a patch or a port for gcc-ia64 on FreeBSD ? > > (I run 4.6-STABLE from yerterday if it's important) > > If you're going to do FreeBSD stuff on ia64 I would suggest running a > normal buildworld (with TARGET_ARCH=ia64) on the -CURRENT sources. > This will include also building the cross compiler necessary for > creating the ia64 binaries. > > If you're not doing FreeBSD work or if you for some reason want to > have a freestanding cross compiler, you could look in > > http://i30www.ira.uka.de/~skoglund/devel/ > where you'll find binutils and gcc ports for ia64-elf. Well, I have not found the way to get correct .h for this stuff. I have tried to get -CURRENT sources, compile, compile, compile, then fail, but the tool chain are build. I can build ia64 binaries, but infortunately, ski fail to launch my HelloWorld application. Is it because I'm still running -STABLE ? parapor:~/tmp/>setenv IABIN /usr/obj/ia64/usr/src5.0/src/i386/usr/bin/ parapor:~/tmp/>${IABIN}/cc -static -B${IABIN} -o Hello Hello.c parapor:~/tmp/>file Hello Hello: ELF 64-bit LSB executable, IA-64 (Intel 64 bit architecture) version 1 (FreeBSD), statically linked, not stripped parapor:~/tmp/>ski Hello Hello - unsupported ELF OS/ABI id (9) ski: Could not open Hello for reading -- % Henri-Pierre.Charles@prism.uvsq.fr PRiSM, Université de Versailles % Tel: 01 39 25 43 44 45, Av. des États Unis 78000 Versailles % Il reste -86450100 secondes jusqu'au 01/01/2000 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message