delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/04/30/06:01:51

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Andrew Cottrell <andspamtrap DOT at DOT swiftdsl DOT dot DOT com DOT dot DOT au AT unknown DOT addr>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: another bug in symlinks in 2.04 beta 1 (or alpha 2)
Date: Fri, 30 Apr 2004 19:56:07 +1000
Organization: HOME
Message-ID: <pu7490dvcfj992nu5q61opc5dugm7gcf4s@4ax.com>
References: <4091054C DOT 2060005 AT ujf-grenoble DOT fr>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Lines: 41
NNTP-Posting-Host: 202.154.115.197
X-Trace: 1083318419 news.syd.swiftdsl.com.au 27642 202.154.115.197
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

>C:\work> cat /work/test/titi
>c:/djgpp/bin/cat.exe: /work/test/titi: No such file or directory (ENOENT)
>
>??? problem arises (AFAICS) only when trying to resolve the symlink with
>an absolute path, i.e. starting with a slash (or backslash), but without drive letter,
>and issuing the command from a directory other than the one in which is
>the symlink.
>It is not related to cat. I found it first in a makefile. Make was not able
>to find a target file by resolving a symlink. The problem did not appear
>beforehand with djgpp 2.03 where "ln -s" was replaced by "cp -p" by configure
I have seen this a long long time ago if I remember correctly, but it
was now so far back I cannot rememebr the exact issue.

Some thigs to try:-
1) Grep you exe files in the bin directory to ensure that they have
"2.04" text in them and if they do not then they may be 2.03. Don't
mix 2.03 and 2.04
2) Search the DJGPP workers achive for "Andrew Cottrell" and GCC (I
think), then try to find the problem. This is a long shot.
3) If you are not using Make 3.80 give it a try.

>Hope this helps
Thanks for this. I do not have access to Win 98 anymore at home or
very much time to try to find the problem so could you please try the
following and respond with the answers:-

1) If you use back slash "\" instead of forward slashes "/" does
anything change? I would expect this to fail.
2) Does cat \<filename> work okay? There are a few bugs with various
versions of File Utils.
3) Which version of File Utils are you using?

More questions:-
1) What are you trying to build? 


Regards,
Andrew



- Raw text -


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