Gentoo Archives: gentoo-embedded

From: Ryan Baldwin <ryan.baldwin@××××××××××.com>
To: gentoo-embedded@l.g.o
Subject: RE: [gentoo-embedded] Problem cross compiling modular X
Date: Thu, 06 Jul 2006 12:05:09
Message-Id: 001201c6a0f4$194451d0$1a06a8c0@LXP0004
In Reply to: [gentoo-embedded] Problem cross compiling modular X by Ryan Baldwin
1 Hi,
2
3 Since sending my last post I have found:
4
5 cp -r /tmp/target/usr/include/X11
6 /usr/i686-pc-linux-uclibc/sys-include/
7
8 'fools' it into building. Does anyone know a 'proper' way of getting this
9 working ?
10
11
12
13
14 This then leads onto the next problem emerge'ing 'libX11'.
15
16 'checking whether malloc(0) returns NULL... configure: error: cannot
17 run test program while cross compiling'.
18
19 I'm quite new to cross compiling. I can see what the problem is - configure
20 cant run any programs in the target environment to fill out config.guess -
21 because its running on the host. Is there any well known way of working
22 around this other then trying to manually write a config.guess for the
23 packages that can't configure themselves for the target environment?
24
25 Thanks
26 Ryan
27
28
29 --
30 gentoo-embedded@g.o mailing list

Replies

Subject Author
RE: [gentoo-embedded] Problem cross compiling modular X Ryan Baldwin <ryan.baldwin@××××××××××.com>
Re: [gentoo-embedded] Problem cross compiling modular X Enrico Weigelt <weigelt@×××××.de>