Date: Fri, 14 Oct 1994 22:33:32 -0500 (CDT) From: Aaron Ucko Subject: Re: combining .o files? To: OKRA AT max DOT tiac DOT net Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Organization: Rockhurst College; Kansas City, MO > I can't find this in the comp.lang.c faq, my C book or the >documentation for DJGPP. I want to combine about five .o files into one >library file that I can specify to be linked in. I think the libs end >with .a? > I can work around it by just specifying all five .o files, but I'd like >to know how to do this just because it's something I don't know. Have you checked the binutils documentation? ar is the tool you want; I don't remember offhand which flags to pass it, though. -=-=-"f y cn rd ths tgln, dc lbxym h gyt ntz."-=-=- Finger for PGP pubkey. Geek code 2.1 [finger hayden AT vax1 DOT mankato DOT msus DOT edu]: GCS/M/S d(-) H s g+ p? !au a-- w+ v+ C++(+++)>++++ U-(S+)>++++ P+ L>++ 3(-) E-(----) !N>++ K- W(--) M-(--) V(--) po-(--) Y+(++) t(+) !5 j R G tv--(-) b+++ !D(--) B--(---) e>++++(*) u++(@) h!() f(+) r-(--)>+++ n+(-) y?