www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/17/15:51:18.1

Sender: nate AT cartsys DOT com
Message-ID: <36A24AF1.53F7F146@cartsys.com>
Date: Sun, 17 Jan 1999 12:41:21 -0800
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: create library
References: <36A139A0 DOT EAB5F52A AT ctonline DOT it> <77snfv$hrg$1 AT news DOT luth DOT se>
Reply-To: djgpp AT delorie DOT com

Martin Str|mberg wrote:
> 
> Roberto (dante AT ctonline DOT it) wrote:
> : My problem is to compile a .c file with my library through RHIDE.
> : My library is created with a .asm file
> : I typed in this way :
> :  nasm -f coff sb.asm
> :  ar rvs libsb.a sb.o
> : then i copy the libfile in \DJGPP\LIB
> : when i try to compile with RHIDE the compiler show this error :
> :  |    /djgpp/lib/libsb.a Could not read symbols: Archive has not
> : index;    |    run ranlib to add one
> : What's wrong ?
> 
> I don't know. But you could run ranlib on libsb.a. ranlib is a program
> that adds some index to a .a file.

Except that using `s' to `ar' has (should have) the same effect.  So
some other problem is at work here.

-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


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