Hi Alexander,

On 15.02.2012 08:30, Alexander Stein wrote:
> Hello Andreas,
> 
> Am Mittwoch, 15. Februar 2012, 07:47:04 schrieb Andreas Bießmann:
>> is there any conclusion to this discussion?
>> I startet to build a x86_64 rootfs (on top of i586-qemu-bsp) and failed
>> to build sylinux due to some wrong decisions in syslinux.make (another
>> discussion ..).
>> I started defining ARCH_X86_64 as optimization of ARCH_X86. Alexander,
>> are you building x86_64 stuff too ore did you only ask cause of the
>> ability to build gnu-efi for ia32, x86_32 and ia64?
> 
> I didn't work on this topic again. But yes, I asked only for gnu-efi stuff. 
> Until now we are only building 32bit.

Ok.

>>> Another problem prio to this is a 64bit toolchain in ptxdist. Up to now 
>>> there is no OSELAStoolchain for x86_64.
>>
>> Can you please test my OSELAS.Toolchain x86_64 patches?
> 
> IIRC from other mails, do you need a x86_64 host to use a x86_64 toolchain? 
> Well, I'm running a x86_64 host, so this wouldn't be a problem.

No, that is a misunderstanding here.

You can build the x86_64-unknown-linux-gnu OSELAS.Toolchain on any host
you want (even Mac OS X as I did).
If you have a host that has the same GNU triplet as the target (and that
may be the fact for some users with x86 build host and x86 target
toolchain but not only he x86_64 toolchain) the autotools mechanism will
end up in deciding for native build which means e.g. gcc without
prefixed arch triplet. Therefore one of my patches adds explicit
'--build=' switch to cross-tools configure to fool the autotools
guessing mechanism by providing a non-guessable arch triplet (e.g.
x86_64-host-linux-gnu -> see GNU_HOST in <ptxdist>/rules/pre/Rules.make).
This let the autoconf logic think it has a x86_64-host-linux-gnu build
system building a x86_64-unknown-linux-gnu target toolchain running on a
x86_64-unknown-linux-gnu host system which would be 'cross compiling'.
The resulting tools have the arch triplet prefixed and everything should
be fine.

I hope this is clear now. Feel free to test the OSELAS.Toolchain
patches, would be great to get some feedback.

best regards

Andreas Bießmann

-- 
ptxdist mailing list
[email protected]

Reply via email to