bug-ncurses
[Top][All Lists]
Advanced

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

Re: Error while crosscompiling ncurses to ARM


From: Thomas Dickey
Subject: Re: Error while crosscompiling ncurses to ARM
Date: Tue, 29 Oct 2002 20:15:57 -0500
User-agent: Mutt/1.3.27i

On Tue, Oct 29, 2002 at 04:19:32PM -0800, Joyce Tan wrote:
> Hi, here's the coopy of config.cache config.log and
> config.status. 
> 
> Thanks,
> joyce
> 
> This is from ncurses-5.2.

ncurses 5.2 uses an autoconf 2.13 script
ncurses 5.3 uses an autoconf 2.52 script.

One thing that we have to take into account is that autoconf 2.5x (incorrectly)
reverses the sense of the host/build options (and that I haven't done anything
with cross-compiles).  Only the ncurses library's makefile contains any support
for cross-compiling, since that's apparently all that anyone used.

However - it seems that the problem lies here (see config.status):

address@hidden@%arm-linux-gcc%g
address@hidden@%arm-linux-gcc%g

Since they're both the same, the places where it compiles/links/runs make_hash
and make_keys will fail, since those are compiled for the target environment
rather than the host. Speaking of which, there's the reversal again:  the
"host" is properly the platform on which you're building, not the target...

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net




reply via email to

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