Mail Archives: djgpp/1997/12/22/02:47:27
> 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 *
*************************************************************
- Raw text -