Date: Mon, 3 Jun 1996 13:31:58 +0200 (IST) From: Eli Zaretskii To: Hans-Christian Prytz Cc: djgpp AT delorie DOT com Subject: Re: Trouble with IO and ar on Windows NT In-Reply-To: <199606022117.XAA09345@login.eunet.no> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sun, 2 Jun 1996, Hans-Christian Prytz wrote: > Now the problem is that when I compile it with gcc it reads nothing > from the file. All the data comes out as . However when I > compile the very same code with bcc (Borland command line compiler) > it works perfectly. You will have to post some code that does the reading to get meaningful answers. It is best to craft a minimal program that exhibits the bug and post it here. > 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) I think that is a warning. You should see the archive is created, and if it is, everything is OK. Note that the format of the libraries created by `ar' are incompatible with the usual Microsoft format of .lib libraries, and naming your library `grunn.lib' won't change that.