bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash for cross-target


From: Chet Ramey
Subject: Re: bash for cross-target
Date: Mon, 13 Feb 2006 15:40:43 -0500
User-agent: Thunderbird 1.5 (Macintosh/20051201)

Yuri Karlsbrun wrote:
> Hi,
> 
> I build bash v3.1 for cross-target. I configured bash like this:
> 
> CC=<my_target_gcc> AR=<my_target_ar> RANLIB=<my_target_ranlib>
> <bash-3.1_src/configure>/configure --host=<my_target> --target=<my_target>
> --build=i686-pc-linux-gnu --disable-nls --prefix=<my_install_dir>
> 
> 1. To complete build I had to comment out running test on cross-target.

The usual solution for this is to create a config.cache file with the
correct values for the cache variables in question.

> 2. Build picks up headers from /usr/include, not from the directory where
> <my_target_gcc> is installed. I have no problem building applications for my
> target using cross-target tool chain.

Bash doesn't specify /usr/include at all.  Isn't it the responsibility
of the compiler to choose an appropriate set of default include
directories?

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
                                           Live Strong.  No day but today.
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]