creating static library

BCS BCS at pathlink.com
Fri Jun 30 10:19:21 PDT 2006


Phoenix wrote:
> 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 used:

ar -q mylib.a file1.o ...

a few days ago (Redhat Linux). This assumes that mylib.a doesn't yet exist.



More information about the Digitalmars-d mailing list