This is the mail archive of the 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: Fwd: [RFC][gomp4] Offloading patches (2/3): Add tables generation

On 17 Jun 21:22, Bernd Schmidt wrote:
> On 06/17/2014 08:20 PM, Ilya Verbin wrote:
> >I don't get this part of the plan.  Where a host compiler will look for mkoffloads?
> >
> >E.g., first I configure/make/install the target gcc and corresponding mkoffload with the following options:
> >--enable-accelerator=intelmic --enable-as-accelerator-for=x86_64-unknown-linux --prefix=/install_gcc/accel_intelmic
> >
> >Next I configure/make/install the host gcc with:
> >--enable-accelerator=intelmic --prefix=/install_gcc/host
> Try using the same prefix for both.

I tried to do:
1. --enable-accelerator=intelmic --enable-as-accelerator-for=x86_64-intelmic-linux-gnu --prefix=/install_gcc/both
2. --enable-accelerator=intelmic --prefix=/install_gcc/both

In this case only bin/x86_64-intelmic-linux-gnu-accel-intelmic-gcc from accel compiler is saved.
All other binaries in bin, lib, lib64, libexec are replaced by host's ones.
Is there a way to have 2 working compilers and libs in the same prefix?

  -- Ilya

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