bug-ncurses
[Top][All Lists]
Advanced

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

Re: cross-compilation trouble


From: Thomas Dickey
Subject: Re: cross-compilation trouble
Date: Thu, 27 Jun 2002 17:45:05 -0400
User-agent: Mutt/1.2.5i

On Thu, Jun 27, 2002 at 07:15:19PM +0700, Maksim A. Nikulin wrote:
> Hi
> 
> I compiled ncurses-5.2 for the Motorola ColdFire processor but there was a
> number of problems.
...
> 
> Now let's enumerate the problems
> 
> System headers precede ncurses ones in ncurses/Makefile, etc. Thus
> term.h includes from system directories and conflicts with library
> headers.

That's because the values in $CPPFLAGS precede local settings.  Sounds
awkward, but reversing the order would be worse in general.
 
> Another problem occurs with the menu library.
> 
> /tmp/ccMZcGoN.s: Assembler messages:
> /tmp/ccMZcGoN.s:124: Error: invalid index size for ColdFire -- statement
> `move.b %d2,(%a0,%a1.w)' ignored
> make[1]: *** [../objects/m_driver.o] Error 1
> 
> It disappears when I alter type of MENU.pindex in menu/menu.h from short
> to int.

sounds like a compiler problem (not ncurses).
 
> Also I try newer version, more exactly 2002/01/12 snapshot. There are
> wonderful options of the configure like --with-build-cc but I haven't
> found one for build cpp flags. 

That might be useful - thanks for the suggestion.

-- 
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]