How To - Building Static Libraries with ObjectAda


I think that your main question is how to create a static link library from an ObjectAda project. If this is the case, just compile all of the stuff that you want to in your library then go use a command prompt (DOS window) and go to you projects subdirectory then go into the obj directory and do these run these commands:

   dir /b /s *.obj>list.txt
   lib /out:gui.lib @list.txt
The dir command makes a list of all of the object files. The lib command makes a static library file out of them. Make sure that the Microsoft lib.exe utility is in your path before trying to use it.
Contributed by: Steve Sivulka
Contributed on: May 14, 1999
License: Public Domain
Back