Gentoo Archives: gentoo-amd64

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

Replies

Subject Author
Re: [gentoo-amd64] Building x86_64 on i386 Harald Schioeberg <schioebe@××××××××××××××××××××××××××.de>