Mail Archives: djgpp/1997/04/03/12:47:52
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????
- Raw text -