Mail Archives: djgpp/1997/12/31/02:33:55
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 -