[PATCH 3 of 3] auto/lib/*: prepend include location with sysroot path

Anton Yuzhaninov citrin at citrin.ru
Wed May 14 11:20:54 UTC 2014


On 05/09/14 16:18, Samuel Martin wrote:
> Even on a old debian squeeze, gcc 4.4.5 supports this option and
> answers nothing in stdout:
> ---
> $ gcc --version
> gcc (Debian 4.4.5-8) 4.4.5
> Copyright (C) 2010 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> $ gcc -print-sysroot
> $ echo $?
> 0
> $

 > gcc -print-sysroot
gcc: unrecognized option '-print-sysroot'
gcc: No input files specified

 > gcc --version
gcc (GCC) 4.2.1 20070831 patched [FreeBSD]
Copyright (C) 2007 Free Software Foundation, Inc.
...

gcc 4.2.1 is default complier in FreeBSD 9.x



More information about the nginx-devel mailing list