www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/03/17/06:23:51

Date: Sun, 17 Mar 1996 12:27:03 +0100 (MET)
From: "Christoph P. Kukulies" <kuku AT gilberto DOT physik DOT rwth-aachen DOT de>
Subject: Re: Object libraries?
In-reply-to: <199603170149.UAA14901@rottweiler.fiu.edu>
To: jcaser01 AT ns DOT fiu DOT edu (Juan J. Casero)
Cc: djgpp AT delorie DOT com
Reply-to: Christoph Kukulies <kuku AT gilberto DOT physik DOT rwth-aachen DOT de>
Message-id: <199603171127.MAA09395@gilberto.physik.rwth-aachen.de>
MIME-version: 1.0

> 
> 
> Hi -
> 
> Can someone please let me know how to create a "library" of object 
> files for use with djgpp.  I remember a while ago someone posted this 
> info but I've been out of the loop for a couple of months and I 
> forgot the procedure.

Normally you do that using ld like:

ld -r -x -o yourlib.o *.o

(note the command line length limit so you might want to use some
 indirect file technique/response file depending on the type of make
you are using). ndmake uses:

      >respfile *.o
      ld -r -x -o yourlib.o @respfile
> 
> 
> Thank You....
> ----------------------------------------------
> Juan Jose Casero
> Florida International University
> Department of Chemistry
> email: jcaser01 AT fiu DOT edu
> "In the middle of every difficulty lies opportunity!"
> 

--Chris Christoph P. U. Kukulies kuku AT gil DOT physik DOT rwth-aachen DOT de

- Raw text -


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