Mail Archives: djgpp/1998/06/09/02:17:18
Hi!
I recently got DJGPP; I tested the C compiler and the C libs, using both
RHIDE 1.4 and the command line tools, checking both out. I'm running
under DOS62 with no long filenames.
I saw in one of the files that I should add a "rhide.env" file
containing the string:
RHIDE_TYPED_LIBS_DJGPP.cc=stdcxx
since RHIDE would ordinarily be looking for stdcx and it had changed. So
I did this before trying C++. I did a "hello,world" program with
printf() and it worked great. Then I did a C++ (.cc) hello, world
program, still using stdio. It worked.
Then I did a C++ "Hello" with iostreams, and it started compiling. But
it never stops clicking the disk light... it just keeps going and going
and going. I tried this in both RHIDE and plain GCC command line.
I didn't realize that the "lib" would be attached to stdcxx, making it
one character too long for the 8.3 scheme of DOS. And since I am using
truncated filenames, RHIDE might be looking for it in the wrong place
and maybe just keeps looking? I don't know; I should change it back
since it would be truncated to the old filename.
But if the new filename is too long for dos, (libstdcxx.a) then perhaps
this is why it doesn't work with GCC.EXE either.
Does anyone know how to solve this?
BTW Love the compiler (at least the part that works so far :-))
- Raw text -