View Full Version : User Defined Libraries

11-20-2011, 09:35 PM
I'm making a library of low level c functions to handle setting the directions of individual bits in DIRA and setting or getting individual state of bits from INA and OUTA. The files I created are DEVICE_IO.C and DEVICE_IO.H.

My question is how to add this to Propgcc. I used the gcc "-I" option to include the directory "C:\Propgcc\Demos\DeviceIO" folder that has these files. I get the error that the "i" option is not recognized. Does PropGCC have this option? If not where would I put my library files?

11-20-2011, 09:50 PM
I had asked a similar question and been given some direction and pointers in this thread:

Maybe it will help.