www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/08/04/14:38:30

From: kunst AT prl DOT philips DOT nl
Subject: 1.12 environment variable length
To: dj AT ctron DOT com
Date: Thu, 4 Aug 1994 17:22:44 +0100 (METDST)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu (DJGPP users list)

Hello DJ,

I think the same must apply to pre-1.12 versions, but the following
happened to me during the testing of 1.12:

I recompiled source files and added paths to the C_INCLUDE_PATH
environment variable in 'DJGPP.ENV' each time some include files 
couldn't be located, and my C_INCLUDE_PATH ended up something like:

C_INCLUDE_PATH=%/>;C_INCLUDE_PATH%%DJDIR%/include;/djgpp111/contrib/pdcurses/include;/sbip2/inc;/djgpp111/contrib/libgrx/include

After the addition of the third path (LIBGRX), gcc (2.6.0) just 'hangs'
when compiling another (any) source file... Oops!

I assume that the C_INCLUDE_PATH environment variable must not exceed
128 chars as all other DOS environment variables, but I think it would
be a good idea to put an appropriate warning in 'README.DOC' in the 
'About the environment' section.

PS the DJGPP.ENV file is a nice concept 
   (cleaning up the regular DOS environment) !

Regards,

Pieter Kunst (kunst AT prl DOT philips DOT nl)


- Raw text -


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