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. 

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.

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?

I manually added -v and checked the resulting gnatlink was calling xgcc
on x86_64-linux -m32/-m64.

Thanks in advance,

Laurent

Attachment: patch-gnatlink-xcc.txt
Description: Text document


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