Gentoo Archives: gentoo-amd64

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