|
From: <cg...@wo...> - 2002-12-07 21:05:07
|
Dev has the option for make a library, if you have the beta 5. If not the process is this: 1- gcc -c for each source file. 2- ar -cru libname.a object files. 3- ar -s libname.a You can have them in one directory and after the second step copy the library to the lib directory of dev, or any directory for libs of your own and then make the ar -s on its new location Wobien wrote: >Hello, >I made some functions and classes I want to reuse in other projects. > >I can add the directory with the header files to the include directories and >that works fine. >I also have some .cpp files. It works if I add their object files to the new >project, but then I have to add all the object files one by one to each new >project. > >It does not work if I add the directory with the object files to the library >directories. >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? > >Wobien > > > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > |