gcc-6.1, cstdlib, fatal error: stdlib.h: No such file or directory

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

 



Hi,

I have successfully built gcc-6.1 as mingw-w64 target, but I had problems use it.

When you try to compile the following code:
#include <cstdlib>
int main() {}

I get the following error:
C:/mingw64/x86_64-w64-mingw32/include/c++/cstdlib:75:25: fatal error: stdlib.h: No such file or directory
 #include_next <stdlib.h>


This error does not occur when using earlier versions of gcc (4.9.3, 5.3.0).
What I am doing wrong?


Thanks.



[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