bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: diffutils/findutils under Tru64


From: Tim Mooney
Subject: Re: diffutils/findutils under Tru64
Date: 6 Jun 2001 16:14:18 GMT

In article <address@hidden>, Ling Shi <address@hidden> wrote:
> Hi,
> 
> I'm building diffutils and findutils under Tru64 v5.1. They both
> failed at same file, fnmatch.c. Should I report it to Compaq
> as well? 

Both programs have (and require) the GNU extensions defined under certain
cases in the fnmatch.h that's included with each package.

Your best bet is to add

        -D_GNU_SOURCE 

to CPPFLAGS and/or CFLAGS before running configure, i.e.:

        CPPFLAGS="-D_GNU_SOURCE"
        CFLAGS="-O3 -g3 -D_GNU_SOURCE"
        export CPPFLAGS CFLAGS
        ./configure

I don't recommend adding -D_GNU_SOURCE in general, but in this case it
seems to be the most appropriate solution: the packages depend on GNU
extensions, so make those extensions available by telling the compiler
and C preprocessor that we're compiling with GNU extensions turned on.

Tim
-- 
Tim Mooney                              address@hidden
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164



reply via email to

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