Skip to contentSkip to conversation

creating .lib file

Xenomai-help egemen kaleli 2 participants 2 messages Jul 19, 2008 – Jul 28, 2008

lore
Share & tools
lore
#0 lore raw

hello,

I wrote a pci driver with rtdm.I created a user file which contains functions that use rtdm api.I need to transform this  .c file into .lib file.
Eventually in make file  I must define it.For example native and rtdm libs are defined as -lnative and -lrtdm.How can I do it?

#1 lore raw
Quoted 8 lines · egemen kaleli

hello,

I wrote a pci driver with rtdm.I created a user file which contains functions that use rtdm api.I need to transform this .c file into .lib file.

Eventually in make file I must define it.For example native and rtdm libs are defined as -lnative and -lrtdm.How can I do it?

This question is not specific to Xenomai, so is off-topic. Google will probably help you find many tutorials explaining how to generate libraries with gcc or ar.

Signature · 1 line
                                                 Gilles.