Hi!
> Probably I need to make files with extention .a or .lib, but how do I do
> that?
> How can I make a real new library directory?
You need the archiver (ar.exe) tool. Read the attachments carefully! (or
your gcc documentation :)
But I think dev-cpp can 'compile' things into libraries, you just need
to set the project to "library".
Libraries are better than .o (object) files, because when you link from
a library, only those functions are put into the exe, which are needed.
If you link an object file to an exe, the whole stuff will be linked
into it, even if you don't use all the functions from the object file.
I think it would be best for you to create a Library project with those
files, and use the compiled library in your programs.
I hope that helps.
--
Best wishes
OROSZI Balázs
|