www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/28/12:07:22

Date: Mon, 28 Sep 1998 19:07:11 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: mert0407 AT sable DOT ox DOT ac DOT uk
cc: djgpp AT delorie DOT com
Subject: Re: DJGPP and windows?
In-Reply-To: <199809281551.SAA01324@is.elta.co.il>
Message-ID: <Pine.SUN.3.91.980928190231.1243D-100000@is>
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019