From: "gunno" Newsgroups: comp.os.msdos.djgpp References: <4Jbw3.675$Hya DOT 190530560 AT newsa DOT telia DOT net> <7prj9t$65u$1 AT taliesin DOT netcom DOT net DOT uk> Subject: Re: HowTo patch RSXNTDJ : a first attempt Lines: 53 X-Newsreader: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Message-ID: Date: Tue, 24 Aug 1999 08:58:53 GMT NNTP-Posting-Host: 195.198.145.230 X-Complaints-To: abuse AT telia DOT com X-Trace: newsa.telia.net 935485133 195.198.145.230 (Tue, 24 Aug 1999 10:58:53 CEST) NNTP-Posting-Date: Tue, 24 Aug 1999 10:58:53 CEST Organization: Telia Internet To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Thanks Michael! Here' my answers Michael Stewart wrote: >>1. Missing library. ..... > >Why not just rename LIBCOMCT.A to libcomctl32.a, this will prevent problem >the next time someone upgrades, plus it'll save a little disk space. > This is maybe a plea to Rainer Schnitker to use a zipper that preserves long file names. >>2. Conflicting names. function.h >>-------------------------------- > >Might it not be better to change the PATH environment variable rather than >edit the source files ? > 1. Changing the include - PATHS:s doesn't solve the name conflict. 2. With RSXNTDJ v.1.5.0 changing the environment variable has minor effect. You can try this: C:\rsxnt>set C_INCLUDE_PATH= C:\rsxnt>set CPLUS_INCLUDE_PATH= C:\rsxnt>gcc -v hello.cpp Reading specs from c:/rsxntdj/lib/specs gcc version 2.8.1 ......... GNU CPP version 2.8.1 (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: c:/djgpp/lang/cxx c:/djgpp/include c:/rsxntdj/include/mssdk c:/rsxntdj/include/win32 c:/djgpp/lang/cxx c:/djgpp/lib/gcc-lib/djgpp/2.81/include c:/djgpp/include End of search list. ............ You have no C_INCLUDE_PATH and no CPLUS_INCLUDE_PATH but you still get the directories listed above visited for inclusion. Weird? Yeah, but that's the way it works with RSXNTDJ 1.5.0 And if anybody can give an explanation that surely would be appreciated.