PDA

View Full Version : User Defined Libraries



blittled
11-20-2011, 10: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?

mindrobots
11-20-2011, 10:50 PM
I had asked a similar question and been given some direction and pointers in this thread:
http://forums.parallax.com/showthread.php?135847-LIbrary-Aid

Maybe it will help.