On 22 February 2018 at 15:55, Fatih Ertinaz wrote: > One quick question: >>> --target=powerpc64-bgq-linux \ >>> --host=powerpc64-linux-gnu \ >>> --build=powerpc64-linux-gnu \ >> >> Those host and build values look wrong. > Why? Because "powerpc64-linux-gnu" looks like a triplet with cpu=powerpc64 (which is OK) and vendor=linux (which is wrong) and os=gnu (which is wrong). >> We don't know what your script does so can't really help. > The script is quite long however it is doing something very simple at its core: > It creates the gcc-VERSION-work directory and calls configure with the > options from the gcc-VERSION/ as it is suggested in the documentation. > It then runs make & make install. > > This is the list of libraries found in gcc-5.2.0-work/powerpc64-bgq-linux/ > libatomic libgcc libgomp libquadmath libssp > > So my question is, what makes those ones compiled but not libstdc++-v3? Well it comes after them alphabetically, so maybe it hasn't got there yet. You have all the logs and 'make' output, and we have none of it, so only you can see why it fails. Simply showing us the last few lines doesn't show any errors.