From: Skye Newsgroups: comp.os.msdos.djgpp Subject: Re: Can't link non standard library. FAQ not enough. Date: Wed, 02 Apr 1997 09:11:12 -0800 Organization: Uniserve Lines: 27 Message-ID: <33429330.261B@iname.com> References: Reply-To: s_c AT iname DOT com NNTP-Posting-Host: dy1-27.van.tvs.net 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 Eli Zaretskii wrote: > It might work for you, but it's sure an incorrect way to do that! The > a suffix is for object *libraries*, not object *files*. Telling gcc > to put the object code into libtest.a doesn't make libtest.a a > library, it is still an object file, albeit renamed. Thought it seemed odd. Not finding any docs specificly on how to create libs I just tried hacking it out. > Libraries should > be created and maintained using the `ar' program. So it does work that way. I had tried it but I geuss I just wasn't getting the correct options in at the right time. Thanks for the help. -SC p.s. What do you think of a few simple tutorials explaining this and other "baic" DJGPP stuf? I've noticed quite a few questions being posted here regarding incorect command line compiling (C and C++), building projects, *creating libs*, linking files, .... I've been keeping notes in a HTML file on some of these "basics" as I've learned them and it wouldn't be too much trouble to make them look nice and sick them on the web. Any intrest????