www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/05/02:38:51

From: j DOT aldrich6 AT genie DOT com
Message-Id: <199606050615.AA022065345@relay1.geis.com>
Date: Wed, 5 Jun 96 06:25:00 UTC 0000
To: djgpp AT delorie DOT com
Mime-Version: 1.0
Subject: Re: Trouble with IO and ar on

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019