Mail Archives: djgpp/1998/04/19/17:58:44
John M. Aldrich wrote in message <3538DBBB DOT 19AA AT cs DOT com>...
>david DOT ball4 AT virgin DOT net wrote:
>>
>> I'm new to C++ and have been following a tutorial in a magazine (PC
Plus), using the software they recently gave away (Borland Turbo C++), a
draw back of the software is compiled programs can only be run from within
the IDE. So I downloaded djgpp and RHIDE to use instead, I am very pleased
with the software but have a problem.
>>
>> When i go to compile and a program i get the following error:-
>>
>> Error: c:\djgpp\bin\ld.exe : cannot open -lstdcx: No such file or
directory (ENOENT)
>>
>> I get the same problem if i try to compile from the command line,
>> thanks for any help,
>
>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.
>
>If you are tryiing to compile from the command line, make sure you
>either use 'gpp' instead of 'gcc', or use the correct name for the
>library ('-lstdcxx'). See chapter 8.2 of the DJGPP FAQ for information
>on making your system compatible with both long and short filenames.
>
>--
I get the same problem but it states couldn't find:
Couldent find
-stdcxx
instead of
-stdcx
this lead me to think mayby part of the compiler is missing.
- Raw text -