From: Thomas Demmer Newsgroups: comp.os.msdos.djgpp Subject: Re: Problem with RHIDE 1.4 and PDcurse 2.2 Date: Mon, 22 Dec 1997 08:22:47 +0100 Organization: Lehrstuhl fuer Stroemungsmechanik Lines: 44 Message-ID: <349E1547.1113567F@LSTM.Ruhr-UNI-Bochum.De> References: <199712220206 DOT VAA04006 AT mail02 DOT rapidsite DOT net> NNTP-Posting-Host: bvb.lstm.ruhr-uni-bochum.de 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 > Hello, [...] > gcc program.o -lcurso -o program.exe -Lc:/djgpp/contrib/pdcurs22/lib > But regardless of how I manipulate the various menu options regarding > both the linker and the compiler RHIDE invokes it as: > > gcc -Lc:/djgpp/contrib/pdcurs22/lib -Xlinker -lcurso -o program.exe > program.o > > Even with some manipulation I can only get > gcc -Xlinker -lcurso -Lc:/djgpp/contrib/pdcurs22/lib -o program.exe > program.o > > Both of these last variations cause the linker to fail because it > can't resolve the references to the curses functions in the program. > The problem is that the object files appear after the curses library > references. > > Does anyone know a workaround for this or a simple setting inside of > RHIDE that I am missing. I would really like to get this going inside > the IDE. No, this error is quite inexplicable. The only thing I can imagine is you put the -l command somwhere into the linker options or so. If you put them into /Options/Libraries, it will work. RHIDE puts the libraries mentioned there after all object files, in order 0--F, so you would have to put pano before curses in that dialog (in case you need libpano.a). -- 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 * *************************************************************