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


* Paolo Bonzini wrote on Thu, Mar 05, 2009 at 12:21:58PM CET:
> 
> > --- libada/Makefile.in	(revision 144573)
> > +++ libada/Makefile.in	(working copy)

> > @@ -97,11 +98,15 @@
> >  	test -f stamp-libada || \
> >  	$(MAKE) -C $(GCC_DIR)/ada $(LIBADA_FLAGS_TO_PASS) gnatlib \
> >  	&& touch stamp-libada
> > +	$(LN_S) $(ADA_RTS_DIR) adainclude
> > +	$(LN_S) $(ADA_RTS_DIR) adalib
> >  
> >  gnatlib-sjlj gnatlib-zcx gnatlib-shared: oscons $(GCC_DIR)/ada/Makefile
> >  	test -f stamp-libada || \
> >  	$(MAKE) -C $(GCC_DIR)/ada $(LIBADA_FLAGS_TO_PASS) $@ \
> >  	&& touch stamp-libada
> > +	$(LN_S) $(ADA_RTS_DIR) adainclude
> > +	$(LN_S) $(ADA_RTS_DIR) adalib
> 
> 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.

Cheers,
Ralf


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