This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch/PR 5620] Fix -save-temps on mingw32 host
- From: Danny Smith <dannysmith at clear dot net dot nz>
- To: Kai Henningsen <kaih at khms dot westfalen dot de>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 27 Jun 2004 22:26:15 +0100
- Subject: Re: [Patch/PR 5620] Fix -save-temps on mingw32 host
- References: <20040626120958.5180.qmail@web50905.mail.yahoo.com><9BdIGITmw-B@khms.westfalen.de>
- Reply-to: Danny Smith <dannysmith at users dot sourceforge dot net>
From: "Kai Henningsen"
| (Danny Smith) wrote on 27.06.04 in
|
| > This fixes by using lrealpath on Windows hosts. Since Windows
| > filesystems don't have Posix style symlinks, lrealpath just returns
a
| > canonicalized full pathname.
|
| Hmm ... you can, however, have *hard* links on NTFS.
yes, of course, and you can construct an inode-like number on NTFS, but
not all win32 files live on NTFS. That can be added later if it is
needed. (Is lrealpath supposed to resovle hard links as well symbolic
links anyway?) Right now I want to get save-temps working for the
99.999% of the times when it is safe to write a temp file when asked to.
Danny
|
| MfG Kai