Find gcc/g++ header files and/or contents

There have been a number of times when I wanted to find out where an include file was in the default compiler search path and there have been other times when I wanted to find out which header file contained a specific setting so I created this simple little bash script that does both in the hopes that it will be useful.

2 thoughts on “Find gcc/g++ header files and/or contents”

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.