Mail Archives: djgpp-workers/2000/07/06/09:06:54
Eli Zaretskii wrote:
> 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.)
This I guess is precisely what the piece of code in Perl_DJGPP_init
does that I sent to this list on July 4th 2000 in this same thread.
It takes argv[0], looks for the last / and strips of the string
"/bin" before that. This last step fails when there is "\bin"
in the prefix which is why we get in @INC something
like c:\djgpp\bin/lib/perl5 instead of c:/djgpp/lib/perl5 as intended
Teun
--
Drs A.R. Burgers Netherlands Energy Research Foundation ECN
Phone: +31-224-564959 Solar & Wind Energy, PV Cells & Modules
Fax : +31-224-563214 P.O. Box 1
email: burgers AT ecn DOT nl 1755 ZG Petten, The Netherlands
- Raw text -