How To Check Header Object

How To Check Compiler Surpported Header Object. For Example I Have Tried To Do This Which Does Not Seem To Output Anything Meaningful: "gcc dumpspecs >> header.txt". Compiler Did Not Pass Anything In header.txt, I Need A Better Understanding About It. I Would Like To Know The Surpported Header Object In Mingw 4.9.2. Although When I Say "Header Object" I Means Example: <iostream><string> E.t.c. Thanks.
Last edited on
So by header object you mean header file. I have no idea what you expect that gcc command to do, but if you want to view the header files like <iostream>, <string>, etc., just search for them on your computer.

On Windows, you can do dir /s "string". For example, in MinGW, you might get three files like this:

C:\MinGW>dir /s "string"

...

 Directory of C:\MinGW\include\c++\7.1.0

05/30/2017  04:51 AM             1,940 string
               1 File(s)          1,940 bytes

 Directory of C:\MinGW\include\c++\7.1.0\debug

05/30/2017  04:51 AM            33,654 string
               1 File(s)         33,654 bytes

 Directory of C:\MinGW\include\c++\7.1.0\experimental

05/30/2017  04:51 AM             2,927 string
               1 File(s)          2,927 bytes


Look at either the normal version, or the debug version of the file in a file viewer.

PS: Mingw 4.9.2 is pretty old at this point. Even my version is a year+ old...
Last edited on
Topic archived. No new replies allowed.