From owner-freebsd-questions@FreeBSD.ORG Thu Oct 11 06:45:27 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1994E16A419 for ; Thu, 11 Oct 2007 06:45:27 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx1.freebsd.org (Postfix) with ESMTP id 77FB613C46A; Thu, 11 Oct 2007 06:45:26 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <470DC688.9070305@FreeBSD.org> Date: Thu, 11 Oct 2007 08:45:28 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Aryeh Friedman References: <470DC1CB.3010705@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: rebranding a i386 binary to be a amd64 binary X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Oct 2007 06:45:27 -0000 Aryeh Friedman wrote: > On 10/11/07, Kris Kennaway wrote: >> Aryeh Friedman wrote: >>> Even though I know this is asking for it I want to test the new nVidia >>> driver on amd64 and the only issue with a hand compile (from nVidia's >>> tar not the ports one) is src/nv-kernel.o is branded elf-i386-32 and >>> amd64 wants it branded elf-amd64-64. This file comes from them as a >>> precompiled object so rebranding seems to be my only option. >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >>> >>> >> Uh it really is an i386 binary, "rebranding" won't magically change all >> the code. > > All I want to do is make it compile so I can test it (like I said I > know it is inherently dangerous) It aint gonna work and there is no tool to do it because it aint gonna work. Kris