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
On Sun, 2009-04-19 at 13:42 +0200, Eric Botcazou wrote:
> > Indeed, as documented gnatlink --GCC= deactivates reading of compiler
> > flags from main program .ali file so the needed flags are not passed to
> > the gcc gnatlink calls.
>
> Bummer.
>
> > One solution is to add a new flag to be able to use --GCC= and still
> > read flags from .ali files, here is a minimalist patch adding a --XCC=
> > option: could you try it in your configuration and report?
>
> Just using --LINK works. Patch attached.
With --LINK gcc instead of xgcc will still be used to drive the
compilation of the binder generated file so it might still
break in another configuration, no?
Laurent