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
> Hmm, AFAICS is in Mafile.in the following line present:
>
> # Copy target independent sources
> $(foreach f,$(ADA_INCLUDE_SRCS) $(LIBGNAT_SRCS), \
> $(LN_S) $(fsrcpfx)ada/$(f) $(RTSDIR) ;) true
>
> which seems to me the cause for this patch.
The above loop will link/copy files only, not directories, so your patch
should have no effect and is incorrect.
Either there's a bug in cp -p in msys, or the problem is elsewhere, and
I'd like to understand where, since I cannot guess with the info in the PR,
nor with my knowledge of the GNAT Makefiles.
Arno