> Am 20.07.2016 um 23:05 schrieb Michael Labuda <[email protected]>: > > Hi, > > I am trying to build a driver in C to communicate with a VFD unit (Get status > info, etc.) using a serial interface. I have the code responsible for the > communication to the drive located in a separate static library (.a) file. > The HAL driver file is only one c source file which I would like to compile > using comp, but comp does not (to my knowledge anyway) allow me to specify > any linker parameters so that I can link against my library file. Any ideas > on how I can make this work? > > Thanks, > > Michael
what about sharing where you are? link to github? I assume userland component? a quick and dirty way is to #include C code in the comp a more pro way would be to create a make target - see the --preprocess flag, then compile, and link as needed - Michael > > -- > website: http://www.machinekit.io blog: http://blog.machinekit.io github: > https://github.com/machinekit > --- > You received this message because you are subscribed to the Google Groups > "Machinekit" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > Visit this group at https://groups.google.com/group/machinekit. > For more options, visit https://groups.google.com/d/optout. -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.
