ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/21/19:32:07

From: tlikens AT ix DOT netcom DOT com (Thomas Likens)
Newsgroups: comp.os.msdos.djgpp
Subject: Problem with RHIDE 1.4 and PDcurse 2.2
Date: Sun, 21 Dec 1997 23:34:33 GMT
Organization: Netcom
Lines: 39
Message-ID: <349da48d.6046332@nntp.ix.netcom.com>
NNTP-Posting-Host: ftw-tx2-21.ix.netcom.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp



						Dec 21, 1997

Hello,

I am a new RHIDE user and am having a problem getting the IDE to
compile a curses program that I wrote (although it compiles find at
the command line).  Essentially, the problem boils down to this- RHIDE
is invoking the linker with the arguments in the incorrect order.  My
command-line make file compiles and links correctly with the following
order:

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. 

thanks in advance,

--Tom Likens 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019