|
From: Kohn E. D. <em...@cs...> - 2001-10-15 12:50:39
|
On Mon, 15 Oct 2001, Casper Hornstrup wrote: > On Monday 15 October 2001 05:29, Steven Edwards wrote: > > What is the syntax for building a static lib (not a dll) in a reactos > > makefile? > > Is this an .a file? If so, then use target=library, otherwise this is a bug > in the makefile system. How do you build a static library with gcc then? AFAIK in order to build a static library, first you have to separately compile echo source file to object (.o) files, using the -c option of gcc, and after that create a library with the ar command: E.g if you want to create libfoo.a from foo1.c foo2.c gcc -c foo1.c gcc-c foo2.c ar -ru libfoo.a foo1.o foo2.o ... ar comes as component of binutils. Emil > > - Casper > > ==================================================== > = To remove yourself from this mailing list, go to = > = http://www.reactos.com/home/mailing.html = > ==================================================== > > ==================================================== = To remove yourself from this mailing list, go to = = http://www.reactos.com/home/mailing.html = ==================================================== |