Mail Archives: djgpp/1996/06/03/06:35:24
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 <null>. 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.
- Raw text -