This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATH][Ada] Fix multilib handling of gnat.dg when RUNTESTFLAGS is used
- From: Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>
- To: Paolo Bonzini <bonzini at gnu dot org>
- Cc: Laurent GUERBY <laurent at guerby dot net>, gcc-patches <gcc-patches at gcc dot gnu dot org>, Janis Johnson <janis187 at us dot ibm dot com>, Arnaud Charlet <charlet at adacore dot com>
- Date: Thu, 5 Mar 2009 12:42:13 +0100
- Subject: Re: [PATH][Ada] Fix multilib handling of gnat.dg when RUNTESTFLAGS is used
- References: <1236247879.11347.1296.camel@localhost> <49AFB5D6.8000607@gnu.org>
* 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