From: Charles Terry Newsgroups: comp.os.msdos.djgpp Subject: Re: RHIDE/DJGPP Linker Issue. Date: Wed, 28 Jan 1998 21:10:52 -0800 Organization: All USENET -- http://www.Supernews.com Lines: 31 Message-ID: <34D00F5C.2545@plinetl.com> References: <34CF4328 DOT F64A758D AT issiusa DOT com> <34D039E5 DOT 652EABE9 AT LSTM DOT Ruhr-UNI-Bochum DOT De> Reply-To: cterry AT plinet DOT com NNTP-Posting-Host: 6189 AT 206 DOT 168 DOT 149 DOT 68 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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