delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/29/03:18:08

From: Thomas Demmer <demmer AT LSTM DOT Ruhr-UNI-Bochum DOT De>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: RHIDE/DJGPP Linker Issue.
Date: Thu, 29 Jan 1998 09:12:21 +0100
Organization: Lehrstuhl fuer Stroemungsmechanik
Lines: 36
Message-ID: <34D039E5.652EABE9@LSTM.Ruhr-UNI-Bochum.De>
References: <34CF4328 DOT F64A758D AT issiusa DOT com>
NNTP-Posting-Host: bvb.lstm.ruhr-uni-bochum.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Chris Van Genderen wrote:
[...]
> I have tried to list the libraries manually in the option->libraries
> box. But, I when I use this box, the system complains that it cannot
> find the libraries at all.
Add "./" to the library path (or wherever you put them). 
Or did you enter lib_a and lib_b? Just say _a and _b. 
And the libs are linked in exactly in the order entered
in the listbox.

> 
> On the same subject, if a function in lib_b ever calls a function in
> lib_a, there will be no way to link the project at all with LD. Am I
> crazy, and missing something, or is this indeed the way that the system
> is written???? It seems hardly logical that libraries cannot have
> functions which call other libraries.
add  -l_a -l_b -l_a on the commandline, 
or enter _a twice in the listbox, before and after _b. 

Yes it is awkward, but I guess the ld creators had good reasons 
for this behavior (Athough I fail to find one).

-- 
Ciao
Tom

*************************************************************
* Thomas Demmer                                             *
* Lehrstuhl fuer Stroemungsmechanik                         *
* Ruhr-Uni-Bochum                                           *
* Universitaetsstr. 150                                     *
* D-44780  Bochum                                           *
* Tel: +49 234 700 6434                                     *
* Fax: +49 234 709 4162                                     *
* http://www.lstm.ruhr-uni-bochum.de/~demmer                *
*************************************************************

- Raw text -


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