creating static library

Frank Benoit keinfarbton at nospam.xyz
Fri Jun 30 10:07:13 PDT 2006


Phoenix schrieb:
> hello, is there any way how to create static library (.a) on linux?
> i tried 'ar -pca mylib.a file1.o file2.o ...', but it broke on 'unknown
> file format (file1.o)' :(


I use this quite often on linux: "ar -r -s -v lib.a a.o b.o ...."



More information about the Digitalmars-d mailing list