delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/15/23:54:06

Message-ID: <20000616035354.44689.qmail@hotmail.com>
X-Originating-IP: [208.160.246.197]
From: "Nimrod Abing" <n_abing AT hotmail DOT com>
To: djgpp AT delorie DOT com
Subject: Re: Where do I put the lines in my autoexec.bat?
Date: Fri, 16 Jun 2000 11:53:54 PHT
Mime-Version: 1.0
Reply-To: djgpp AT delorie DOT com

>From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
>Reply-To: djgpp AT delorie DOT com
>To: djgpp AT delorie DOT com
>Subject: Re: Where do I put the lines in my autoexec.bat?
>Date: Fri, 16 Jun 2000 02:11:19 GMT
>
>On Thu, 15 Jun 2000 11:28:53 +0300 (IDT), Eli Zaretskii
><eliz AT is DOT elta DOT co DOT il> wrote:
>
> >On Wed, 14 Jun 2000, Damian Yerrick wrote:
> >
> >> >> >> set PATH=C:\WINDOWS\DESKTOP\Tyler\Programs\DJGPP\BIN;%PATH%
> >> >>
> >> >> WARNING: This path is dangerously long.  DOS often has trouble
> >> >> handling paths longer than about 64 characters or 8 levels deep.
> >> >
> >> >There are no 8 levels here (I counted 6), so this PATH is safe.
> >>
> >> C:\WINDOWS\DESKTOP\Tyler\Programs\DJGPP\LANG\CXX\STD
> >> or worse yet, the path to the preprocessor and compiler proper:
> >> C:\WINDOWS\DESKTOP\Tyler\Programs\DJGPPLIB\GCC-LIB\DJGPP\2.952
> >These two are exactly 8, so they are still safe.
>
>Sorry, I made a typo in the second one.  Fixing it (insert \ between
>DJGPP and LIB) brings it to 9 levels.
>
>OK, so it's fixed in OSR2 and Windows 98.  But isn't there a
>64 character limit too?
>
>C:\WINDOWS\DESKTOP\Tyler\Programs\DJGPP\LIB\GCC-LIB\DJGPP\2.952\CC1.EXE
>0123456789012345678901234567890123456789012345678901234567890123


Try using ``subst'' to assign a drive letter to the subdir containing
the DJGPP.env file. In this case:

subst g: C:\WINDOWS\DESKTOP\Tyler\Programs\DJGPP

This line should appear before the PATH reassignment:

set PATH=C:\;C:\WINDOWS\COMMAND[; ... ]
subst g: C:\WINDOWS\DESKTOP\Tyler\Programs\DJGPP
set PATH=G:\BIN;%PATH%

It works for me on Win98. If it still doesn't work, try adjusting
the environment size by setting SHELL to the appropriate value in your
config.sys file. I use a value 2048 for environment size. Try a larger
one (4096) if it still doesn't work. Hope this helps.

----------------
_nimrod_a_abing_


------------------------------------------
Homepage: http://www.geocities.com/n_abing

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

- Raw text -


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