Mail Archives: djgpp/1993/07/26/18:57:24
> However, I get the "file not found" error, although the compiler
Get bnu22bn.zip
> environment path is set correctly (pointing to the directory with
> cpp.exe, cc1.exe, etc...). And if by chance I do get an a.out file,
> the stub.exe or the go32.exe does not convert the a.out file into a
> useable/runnable exec file.
Use "aout2exe prog" to make `prog' (output of gcc) into `prog.exe'.
> On the other hand, why can't I compile the .c programs in the utils
> directory using gcc? I thought these programs were actually written
> under gcc. However, when I use turbo c/c++ 3.0 on these problems,
> I am able to get a good exec file. Also, I have written a few simple
> turbo c/c++ programming problems but can't seem to get them to work
> using gcc.
Some of the utils are turbo-C specific, mostly because they were
written a long time ago when gcc didn't support a lot of things that
turbo-C did and I never got around to upgrading them.
When compiling C++, make sure you add "-lgpl" to the command line to
get the C++ library.
DJ
- Raw text -