Mail Archives: djgpp/1998/01/29/03:18:08
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 -