This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Trouble building gcc 7 on mingw64 (can't find limits.h)
- From: Liu Hao <lh_mouse at 126 dot com>
- To: "J.W. Jagersma" <jwjagersma at gmail dot com>, gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Thu, 4 May 2017 09:36:46 +0800
- Subject: Re: Trouble building gcc 7 on mingw64 (can't find limits.h)
- Authentication-results: sourceware.org; auth=none
- References: <CAPLG5jZPg2vTqeCHBfF2LRwwLAA7rq-aQkKvSJfviJm9-0JcDg@mail.gmail.com>
On 2017/5/4 8:39, J.W. Jagersma wrote:
Please disregard my previous message. I'm trying a different approach
now (with --build=x86_64-w64-mingw32 instead of
--build=x86_64-pc-msys). That should be a better option.
The former is used to build a native compiler. The latter isn't.
#include_next <limits.h> /* recurse down to the real one */
^~~~~~~~~~
compilation terminated.
So it can't find limits.h. I passed the corresponding option to
configure (--with-native-system-header-dir) but that appears to be
ignored. Any ideas?
This looks relative to PR 70936.
--
Best regards,
LH_Mouse