[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Ncurses for mips
From: |
Thomas Dickey |
Subject: |
RE: Ncurses for mips |
Date: |
Wed, 2 Feb 2005 17:35:35 -0500 (EST) |
On Wed, 2 Feb 2005, Vivek wrote:
Hi
After over-riding the cflagsm the config.log reports following entry
$ ./configure --prefix=/home/dvivek/test/ncurses --with-build-cc=gcc
--host=mips-linux --target=mips-linux --with-build-cflags=-O3
However compilation still failed as the cross compiler flags are passed to
host compiler as is shown below. I thought only the flags specfied in
--with-build-cflags will be passed to host compiler.
I don't see it (from running my djgpp setup). But the config.status file
should list the values substituted for BUILD_CFLAGS, etc., for example
s,@BUILD_CC@,gcc,;t t
s,@BUILD_CPP@,$(CC) -E,;t t
s,@BUILD_CFLAGS@,-O4,;t t
s,@BUILD_CPPFLAGS@,,;t t
s,@BUILD_LDFLAGS@,,;t t
s,@BUILD_LIBS@,,;t t
s,@BUILD_EXEEXT@,,;t t
s,@BUILD_OBJEXT@,o,;t t
Often I simply edit that file, and run it, e.g.,
./config.status
to update the makefiles.
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net