I need to compile some files with a usage of modified versions of standard library headers. With Visual C++ compiler I will do this by usage of /X (Ignore Standard Include Paths) and /I (Additional Include Directories) parameters. How this should be done with gcc?
gcc -nostdinc -I/custom/include/path/goes/here
-nostdinc ignores standard C include directories -nostdinc++ ignores standard C++ include directories
-nostdinc
-nostdinc++
1.4m articles
1.4m replys
5 comments
57.0k users