This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Call for Testers: mmap autoconf logic


Jean-Pierre Radley wrote:
> | if ${CC-cc} test1.c -o test1z.x >test1z.l 2>&1 && ./test1z.x >>test1z.l 2>&1
> 
> That line is not understood by my shell.   Did you mean to type
>         if ${CC:-cc} ....

It should be equivalent and both should work.
Works for my OSr5 /bin/sh.  I get the same results for:

  /tools/gcc/gcc/config.guess
  i686-pc-sco3.2v5.0.5

(haven't upgraded yet :-)

> SCO OpenServer 5.0.6 (whether CC is set to cc or to gcc):
> 
>         Have mmap from /dev/zero.
>         No mmap with MAP_ANON(YMOUS).
>         mmap of /dev/zero is buggy. (7)
>         -rw-r--r--   1 root     sys            0 Jan  9 09:51 test1a.l
>         -rw-r--r--   1 root     sys            0 Jan  9 09:51 test1z.l
>         -rw-r--r--   1 root     sys            0 Jan  9 09:51 test2z.l

Bruce

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]