This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch ada]: Last fix for PR ada/47163 on windows native hosts
2011/4/5 Arnaud Charlet <charlet@adacore.com>:
>> Well, there is a bug AFAICS. Issue is that 'ln -s file dir' fails, but
>> 'ln -s file file1' works. See for this thread
>> http://lists.zerezo.com/mingw-users/msg03642.html, where this is
>> described. So it might be also a valid fix here to append to directory
>> the $f again.
>
> OK, so it's indeed a bug in msys which should be fixed there IMO if it
> does not support 'cp -p file dir'
I agree, and I read the threads about that there on mingw.org. I
don't see a good chance that it get fixed soon there. Nevertheless is
the msys-environment the only way to do a full bootstrap of native gcc
toolchain, so I would simply love to have this work-a-rounded it in
gcc. But well, I won't die if it isn't. ;)
> Adding $f may cause command line limitations on some platforms, so I'd rather
> avoid that.
Yes, understood. But some lines down in Makefile we use LN_S with same
pathes, but with filenames on all two arguments. So I think this fear
might be without reason here. (see section "Copy new target dependent
sources").
Regards,
Kai