Mail Archives: djgpp/1998/09/28/12:07:22
On Mon, 28 Sep 1998, George Foot wrote:
> The problem isn't with these files, it's with other libraries
> such as libc, libm and libg, of which RSXNTDJ provides its own
> copies of course. In addition, I thought it would be better to
> prevent people from linking any DOS-djgpp libraries into
> Windows programs. stdcxx would be an easy library to link in
> by accident, using gxx. I'm not sure, but linking DOS
> libraries into Windows programs doesn't seem very safe to me.
Sounds like a good reason to have a separate driver, don't you think? If
people where to use wingcc or some such, then you could make wingcc.exe
that's a symlink to gcc.exe, and have a separate section in DJGPP.ENV
that redefines all variables like INCLUDE_PATH and LIBRARY_PATH to point
to RSXNT directories.
Will this solve the problems?
> Do you have any ideas about how to control which include files
> get used?
The above trick with a separate driver will fix this as well, no?
- Raw text -