bug-ncurses
[Top][All Lists]
Advanced

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

Re: NCURSES_CH_T definition and ncurses.h in toolchain sys-root include


From: Thomas Dickey
Subject: Re: NCURSES_CH_T definition and ncurses.h in toolchain sys-root include path
Date: Sat, 17 Sep 2016 16:50:50 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, Sep 13, 2016 at 05:31:14PM -0700, Florian Fainelli wrote:
> Hi all,
> 
> While debugging the following build failure encountered with building
> libncursesw:
> 
> arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I../ncurses -I.
> -I/exp00/fainelli/openwrt/trunk/staging_dir/target-arm-linux-gnueabihf/usr/include
> -I/exp00/fainelli/openwrt/trunk/staging_dir/target-arm-linux-gnueabihf/include
> -I/opt/toolchains/stbgcc-4.8-1.5//usr/include
> -I/opt/toolchains/stbgcc-4.8-1.5//include  -D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64  -DNDEBUG -I. -I../include -Os -pipe
> -march=armv7-a -mtune=cortex-a15 -fno-caller-saves -mfloat-abi=hard
> -fpic   --param max-inline-insns-single=1200 -fPIC -c
> ../ncurses/./tty/hashmap.c -o ../obj_s/hashmap.o

I am puzzled by this: in the scenarios that I have considered, none of
them insert these options between "-I." and "I../include":

        
-I/exp00/fainelli/openwrt/trunk/staging_dir/target-arm-linux-gnueabihf/usr/include
        
-I/exp00/fainelli/openwrt/trunk/staging_dir/target-arm-linux-gnueabihf/include
        -I/opt/toolchains/stbgcc-4.8-1.5//usr/include
        -I/opt/toolchains/stbgcc-4.8-1.5//include  -D_GNU_SOURCE
        -D_FILE_OFFSET_BITS=64  -DNDEBUG

rather, the options fall after the "-I../include".

Which patchlevel of ncurses are you building, and what environment and
command-line options are you using?

(a copy of config.status and config.log would be helpful)

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

Attachment: signature.asc
Description: Digital signature


reply via email to

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