在 2019/12/3 8:17, Thomas Dineen 写道:
> Gentle People:
> 
> Considering that I am attempting to build a cross compiler on a
> CentOS Machine targeting Windows:

If you cross-compile you must specify `--host` otherwise you invoke the
native (CentOS => CentOS) compiler (as in your log was `gcc` which is
native; the cross one is `x86_64-w64-mingw32-gcc`).


> What windows.h is it looking for?
> And what directory is it looking in?
> 
>

Try this command:
```
x86_64-w64-mingw32-gcc -E -v -xc /dev/null
```

In the output (to stderr) there should be something like this:
```
#include "..." search starts here:
#include <...> search starts here:
```
around which you can find absolute paths of possible include directories.

-- 
Best regards,
LH_Mouse

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to