www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/29/18:04:56

To: djgpp AT delorie DOT com
References: <AABNC7rib3 AT pauzner DOT mccme DOT ru>
Message-Id: <AB70k7rWv5@pauzner.mccme.ru>
From: "Leonid Pauzner" <leonid AT pauzner DOT mccme DOT ru>
Date: Mon, 30 Mar 1998 02:57:59 +0400 (MSD)
Subject: Re: DJGPP on drive c: and sources on drive d: PROBLEM
Lines: 45
MIME-Version: 1.0

Thanks,
> ---------------------------------------------------------------------
> |      John M. Aldrich       | "A woman is not property, and hus-   |
> |       aka Fighteer I       | bands who think otherwise are living |
> |   mailto:fighteer AT cs DOT com   | in a dreamworld."                    |
> | http://www.cs.com/fighteer |                - Lazarus Long        |
> ---------------------------------------------------------------------

It was happened my sources tree was in d:\dev subdirectory
and it interferred with UNIX /dev...

Anyway, I think this should be locked somehow for DOS,
by checking drive letter for example.
Leonid.


> > OK, I send you logs, pkziped.
> >
> > (1) "ok" for src tree at c:\djgpp and
> > (2) exactly the same src tree moved to d:\dev (fails)
> > Seems to be makefile.dos cannot be found...
> >
> > Also, I enclosed there makefile.dos, batchs and my environments.
>
> I think I know what the problem is... and it's somewhat of an annoying
> one that stems from the way DJGPP processes Unix-style device names.
> Any time you try to access a file in the /dev directory, DJGPP's library
> code assumes that you are talking about a system device and tries to
> read it that way.  This feature exists for compatibility with Unixy
> programs.
>
> To see if this is the problem, try moving your files to some directory
> on d: other than /dev.  Or try renaming /dev to something else.  If I'm
> right, you'll be able to compile.
>
> --
> ---------------------------------------------------------------------
> |      John M. Aldrich       | "A woman is not property, and hus-   |
> |       aka Fighteer I       | bands who think otherwise are living |
> |   mailto:fighteer AT cs DOT com   | in a dreamworld."                    |
> | http://www.cs.com/fighteer |                - Lazarus Long        |
> ---------------------------------------------------------------------
>
>



- Raw text -


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