On 27 Jun 09:32, Bernd Schmidt wrote:
> Sorry for the delayed reply, I was travelling. There seem to be some
> thinkos in the configure script and Makefile; can you try the
> following (don't forget to regenerate configure)? It seems to work
> for ptx (with some additional changes to allow ptx builds without
> --enable-accelerator).

Thank you for you patch.

1) I tried to build accel compiler as a native x86_64-intelmic-linux-gnu 
compiler.  Then I installed host's x86_64-pc-linux-gnu into the same prefix.
In this case the are no collisions between the executables (cc1, etc.), but 
lib64 is common to both.  So libgomp.so from the host compiler overwrites 
libgomp.so from the accel compiler, but they need to be different.

2) Or should I build accel compiler as a cross from x86_64-pc-linux-gnu to 
x86_64-intelmic-linux-gnu?  Will it help to distinguish the libs?
Such a cross build will require additional changes to config files, since 
currently it can't find some of the binutils (--with-ar=/usr/bin/ar didn't 
help):
/bin/sh: line 7: x86_64-intelmic-linux-gnu-ar: command not found
make[2]: *** [libgcc.a] Error 127

Thanks,
  -- Ilya

Reply via email to