bug-ncurses
[Top][All Lists]
Advanced

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

cross compile bug


From: walter harms
Subject: cross compile bug
Date: Mon, 04 Apr 2005 16:38:39 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040114

i tried to crosscompile ncurses for my axis embedded system using the following
config line.


./configure --build=i386  --host=cris-axis-gnu --prefix=/usr \
--disable-nls -v -without-debug --without-ada --enable-overwrite \
--without-cxx-binding --disable-big-core --enable-symlinks \
--with-shared --with-build-cc=gcc CC="cris-gcc -mlinux"

I had to use this strange CC because when i set CFLAGS it will be used
with BUILD_CC.
removing this will solve the problem

see ncurses/Makefile:

BUILD_CCFLAGS = -DHAVE_CONFIG_H -I../ncurses -I$(srcdir) $(CPPFLAGS) $(CFLAGS)





reply via email to

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