AbidingDude
Programmer
I started bringing all of my C libraries and projects to my Linux drive. Currently I'm using Windows and the ancient Borland C 5.5 compiler. (I know. It's old, but I know it really well and it's free.)
To configure the Borland compiler to automatically look in my homemade libraries directory, I have a line in the BCC32.cfg file (where "mylibs" are my routines):
-I"C:\BC55\INCLUDE";"C:\BC55\MYLIBS"
I'm getting used to Linux (Mint), and I just started learning gcc. I just learned about the "ar" command to add my object files to a static library, but how do I get gcc to automatically check my homemade libs folder? Is there a config file for gcc? If there is I couldn't find it.
To configure the Borland compiler to automatically look in my homemade libraries directory, I have a line in the BCC32.cfg file (where "mylibs" are my routines):
-I"C:\BC55\INCLUDE";"C:\BC55\MYLIBS"
I'm getting used to Linux (Mint), and I just started learning gcc. I just learned about the "ar" command to add my object files to a static library, but how do I get gcc to automatically check my homemade libs folder? Is there a config file for gcc? If there is I couldn't find it.