Re: trouble with building MinGW-w64 windows-hosted toolchain using Linux

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

 



On 2020-05-19 20:34, Jim Wilson wrote:

cpuid.h is a user header file.  gcc contains a copy, and other
packages may contain a copy too.  This file gets copied into the
install tree.  So if you already have an install tree, and already
have header files in it, then you may already have a cpuid.h file from
somewhere else that may be older than the one in the gcc source tree.
Or maybe you have one in the install tree from an older gcc version
that lacks features required by the current gcc sources.  Normally gcc
will take cpuid.h from the gcc source tree, but if you add -I or
-isystem options to $CC, then that may confuse the build process and
it may use a cpuid.h file from your install tree instead of the one in
the gcc source tree.

Jim

Hi,

you were right!

in the end I was able to build gcc-9.3 (with host=x86_64-w64-mingw32 and target=x86_64-w64-mingw32), but for this I had to build cross-gcc-9.3 first.
before that I tried to use mingw-w64 cross-compiler based on gcc-7.2.

thank you!



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux