www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/03/06:35:24

Date: Mon, 3 Jun 1996 13:31:58 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Hans-Christian Prytz <hanscpr AT login DOT eunet DOT no>
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: <Pine.SUN.3.91.960603132554.21344E-100000@is>
Mime-Version: 1.0

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 -


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