On Thu, Nov 07, 2013 at 07:36:06PM +0400, Andrey Turetskiy wrote:
> > Note, configure options should be either --with- or --enable- prefixed.
> > Plus, it is probably better to use configuration triplets there.
> 
> Do you mean smth like this:
> configure --build=x86 --host=x86 --target=x86,mic,ptx
> Then "make" should build 3 gcc: x86 native and crosses for mic and ptx.

It can very well be just that the user should first
mkdir ~/whatever-1; cd ~/whatever-1
.../configure --target x86_64-k1om-linux --prefix=/whatever
make; make install
mkdir ~/whatever-2; cd ~/whatever-2
.../configure --target ptx-none --prefix=/whatever
make; make install
and then
mkdir ~/whatever-3; cd ~/whatever-3
.../configure --with-offload-targets=x86_64-k1om-linux,ptx-none 
--prefix=/whatever
?
At least initially, because building several different compilers in one
build directory would be kind of interesting, I'm not saying not doable,
but there are other issues to be solved first.

        Jakub

Reply via email to