Mail Archives: djgpp/1998/01/29/11:30:24
Thomas Demmer wrote:
>
> 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
Sorry I can't look up the syntax right now, but I think in the info docs
on LD there is a command to have the libraries searched repeatedly. It's
not the default because of speed.
Charles Terry
- Raw text -