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 Sat, 2009-04-18 at 15:55 +0200, Eric Botcazou wrote:
> > Oops, sorry for that. I'm testing right now on 4.4 and trunk with the
> > additional --GCC (and I'll fix the spurious whitespace diff between
> > trunk and 4.4 on gnat.exp).
> 
> That doesn't seem to easily work with gnatlink.  

May be it needs some quoting like: 

-largs --GCC="$root/xgcc -B$root"

gcc/ada/gnatlink.adb seems to further split the --GCC= value.

I don't know how to get quote within quotes in TCL though.

> Btw, any particular reason  for adding -B$root after -margs too?

I don't remember why I added -margs -B$root. May be I added -margs at
the end so that additional flags get passed to gnatmake and not to
gnatlink only.

Laurent




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