I’m trying to build freeglut, I just want to debug a bash script option and I need to find out what specifically -I and -L gcc compiler options do. I shouldn’t have to go through 10,000 freaking lines of text.
I just tried the following
man gcc | cat > gcc.txt
grep "-I" gcc.txt
You can use
--to denote end of arguments in most Linux tools:(and -I and -L are header (include file) and library search directories respectively)