Mail Archives: djgpp/1998/04/16/03:00:19
Peter Russell wrote:
>
> Well guys I guess you would rank me a beginner. I have set up djgpp and
> got it working with allegro ok but when it is not set up for working
> with allegro (in rhide that is). Still working in C++ I get this error
> msg.
>
> error: F:\djgpp\bin\ld.exe: cannot open -lstdcx: no such file or
> directory (ENOENT)
RHIDE 1.4 wasn't designed with gcc 2.8.0 in mind. The solution is
simple: edit the file %DJDIR%/share/rhide/rhide.env (or create it if it
doesn't already exist), and put the following line in it:
RHIDE_TYPED_LIBS_DJGPP.cc=stdcxx
After doing this, RHIDE should link C++ programs correctly.
BTW, putting the setting in 'rhide.env' is a better option than putting
it in 'djgpp.env', because it's very likely that the next version of
RHIDE will have the problem corrected.
> Also how can I switch the setting to "gpp" in rhide instead of gcc.
You don't need to. The only reason to use 'gpp' is to link the C++
libraries, which RHIDE does all by itself.
--
---------------------------------------------------------------------
| John M. Aldrich |"Men rarely (if ever) manage to dream |
| aka Fighteer I |up a god superior to themselves. Most |
| mailto:fighteer AT cs DOT com |gods have the manners and morals of a |
| http://www.cs.com/fighteer |spoiled child." - Lazarus Long |
---------------------------------------------------------------------
- Raw text -