delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/07/06/09:15:10

From: Martin Stromberg <Martin DOT Stromberg AT lu DOT erisoft DOT se>
Message-Id: <200007061239.OAA12513@lws256.lu.erisoft.se>
Subject: Re: DJGPP problem executing a script
To: djgpp-workers AT delorie DOT com
Date: Thu, 6 Jul 2000 14:39:12 +0200 (MET DST)
In-Reply-To: <Pine.SUN.3.91.1000706150646.25107A-100000@is> from "Eli Zaretskii" at Jul 06, 2000 03:10:56 PM
X-Mailer: ELM [version 2.5 PL3]
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> 
> 
> On Thu, 6 Jul 2000, Martin Stromberg wrote:
> 
> > > Yes, but how does Perl compute the value of @INC?  I'm trying to 
> > > understand where did those backslashes come from?
> > 
> > 1. They are compiled in when building perl.
> > 
> > 2. You can add more directories with the -I option to perl. These goes
> >    in front of the compiled in ones.
> > 
> > 3. You can change the variable in your perl program.
> 
> None of these options seems to derive @INC from $DJDIR, unless each user 
> has to configure her installation by putting the appropriate -I options 
> on some config file.  Is that true, or did I miss something?
> 
> If I'm right, then I don't understand how does Perl work for people (me 
> included) whose DJGPP tree is not rooted at c:/djgpp.  ("/dev/env/DJDIR" 
> trick might help, but I don't think that current Perl binaries were 
> compiled with DJGPP v2.03.)

I was talking about perl on UNIX. Presumably, the DJGPP magic is done
in step 1 in DJGPP?


Right,

							MartinS

- Raw text -


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