This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATH][Ada] Fix multilib handling of gnat.dg when RUNTESTFLAGS is used


On Thu, 2009-03-05 at 12:42 +0100, Ralf Wildenhues wrote:
> * Paolo Bonzini wrote on Thu, Mar 05, 2009 at 12:21:58PM CET:
> > I am not sure that symbolic links to directories are okay on all
> > platforms where Ada is supported (especially MinGW).
> 
> Well, if LN_S is 'cp -p', the above won't do the right thing, so using
> $(LN_S) can't be right here.

"cp -pr" works on both file and directories, some googling
seems to imply that's what happens on MinGW:

http://svn.opengroupware.org/SOPE/trunk/gnustep-make/config.make.in
# Special case - on mingw32, autoconf sets LN_S to 'ln -s', but then
# that does a recursive copy (ie, cp -r).
ifeq (@target_os@,mingw32)
  HAS_LN_S = no
endif

But I couldn't get direct confirmation, if you have a mingw32 build tree
around could you do "grep LN_S build/config.log" and test the result on
a directory?

Thanks in advance,

Laurent


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]