delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/31/02:33:55

Date: Wed, 31 Dec 1997 09:33:35 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Robert Hoehne <robert DOT hoehne AT gmx DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: LD looks at zip drive
In-Reply-To: <34A92532.88FD23E5@gmx.net>
Message-ID: <Pine.SUN.3.91.971231093308.3217A-100000@is>
MIME-Version: 1.0

On Tue, 30 Dec 1997, Robert Hoehne wrote:

> gcc -o hello.exe hello.o -Xlinker --verbose > log
>
> Now examine the file ŽlogŽ which contains all the files,
> which ld tried to open.

The problem is that --verbose doesn't show all path searched by `ld',
only those which succeeded (at least in Binutils 2.7).  In this case,
I think, the problem is with the path names built into `ld' when it
was compiled, and which don't exist on most machines, but which happen
to hit the zip drive.

I think that it is bad for a DJGPP binary to have built-in path names
which are accessing drives other than the current one.  It might get
somebody into real trouble, since DOS is not too permissive about
accessing non-existent drives or drives without a disk (floppies, CDs,
etc.).

- Raw text -


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