From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: How do I create a Library ? Date: Mon, 07 Apr 1997 06:10:19 -0700 Organization: Two pounds of chaos and a pinch of salt Lines: 19 Message-ID: <3348F23B.7095@cs.com> References: <5i8tor$33ah$1 AT www DOT iil DOT intel DOT com> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp226.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Amit Barak wrote: > > How do i create a library 'libxxx.a' from a group of C++ > code files ? gcc -c file1.cc file2.cc file3.cc ar rvs libxxx.a file1.o file2.o file3.o -- John M. Aldrich * Anything that happens, happens. * Anything that, in happening, causes something else to happen, causes something else to happen. * Anything that, in happening, causes itself to happen again, happens again. * It doesn't necessarily do it in chronological order, though. --- Douglas Adams