Mail Archives: djgpp/1996/06/05/02:38:51
Reply to message 2262031 from HANSCPR AT LOGIN on 06/02/96 7:19PM
>I use the following commandline:
>ar -rc grunn.lib grunnlag.o
>which produces teh followin response:
>f:/utils/djgpp/bin/ar.exe: grunn.lib: No such file or directory (ENOENT)
It looks to me like ar doesn't recognize '.lib' as a valid archive name
and tries to read it as an object file to put into the library. Although the
ar docs don't say anything about valid archive filenames, they do seem
to imply that it expects to see '.a' as the extension. Eli?
BTW, DJGPP archives are NOT compatible with any other compiler's.
The only reason I can see that you would want to make a '.lib' in the
first place is for compatibility with Borland C, etc, and that just plain
won't work.
John
P.S. Sorry about truncating the subject line - it's my mailer. :(
- Raw text -