rebranding a i386 binary to be a amd64 binary

Kris Kennaway kris at FreeBSD.org
Wed Oct 10 23:45:27 PDT 2007


Aryeh Friedman wrote:
> On 10/11/07, Kris Kennaway <kris at freebsd.org> 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 at freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at 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



More information about the freebsd-questions mailing list