Gentoo Archives: gentoo-embedded

From: Daniel Glaser <daniel.glaser@××××××××××××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] crosscompile bash
Date: Sat, 18 Nov 2006 15:24:52
Message-Id: 455F2597.5050908@chaintronics.com
In Reply to: [gentoo-embedded] crosscompile bash by Corey
1 Corey wrote:
2 > ROOT="/mnt/gentoo" CHOST="i686-pc-linux-uclibc" CBUILD="i686-pc-linux-gnu" emerge bash
3 >
4 > ....
5 >
6 > checking for alloca... (cached) yes
7 > checking whether getpgrp requires zero arguments... yes
8 > checking whether setvbuf arguments are reversed... configure: error: cannot run test program while cross compiling
9 >
10 >
11 > How to fix this? I've seen plenty of mention of this particular problem, but no solution...
12 >
13 >
14 > Thanks,
15 >
16 > Corey
17 >
18
19 Try adding this to your $ROOT/etc/make.conf
20
21 bash_cv_have_mbstate_t=yes
22 ac_cv_func_setvbuf_reversed=no
23
24 Will work properly.
25
26 cu daniel
27 --
28 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] crosscompile bash Corey <corey@×××××××××.net>