Gentoo Archives: gentoo-amd64

From: Harald Schioeberg <schioebe@××××××××××××××××××××××××××.de>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] Building x86_64 on i386
Date: Wed, 07 Sep 2005 15:50:20
Message-Id: 1126108087.15135.19.camel@penguin
1 Hello,
2
3 i cannot figure out how to build x86_64 on i386 system.
4
5 I have the portage overlay properly set up for a crossbuild, i can
6 emerge cross-x86_64-pc-linux-gnu/binutils
7 but when it comes to the
8 USE=nocxx emerge cross-x86_64-pc-linux-gnu/gcc
9 it complains about lacking headers (pthread.h)
10
11 i tried emerging the kernel-headers in advance, but i can't, they need a
12 gcc. i've read that one should replace
13 "make prepare" with "make include/linux/version.h" in the ebuild to fix
14 that, but there is no such line, and i cannot trace back where this is
15 called.
16
17 i decided to symlink "ln -s /usr/include /usr/x86_64/include" but then
18 some other files are missing (crti.o)
19
20 has any1 setup such an environment???
21
22 thnx
23 harald
24 --
25 gentoo-amd64@g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] Building x86_64 on i386 "José Carlos Cruz Costa" <meetra@×××××.com>