From: j DOT aldrich6 AT genie DOT com Message-Id: <199606280355.AA254734133@relay1.geis.com> Date: Fri, 28 Jun 96 03:10:00 UTC 0000 To: djgpp AT delorie DOT com Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Subject: Re: gcc specs file Reply to message 1120182 from BILL_CURRIE AT M on 06/27/96 7:44PM >I wish to teach gcc about ar files (as in makes use of archive(member) ) so I >can >use a command like: > > gcc -c -o libfoo.a(foo.o) foo.c > > >Can I do this using the specs file or would I have to modify the gcc sources. I dunno about gcc, but GNU make implicitly recognizes all sorts of constructs, this being one of the simplest. I suggest you look it up, because it makes all sorts of compilation easier. If you want concrete examples, I could dig into the docs and come up with something. :) John