https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107059

--- Comment #17 from Tobias Burnus <burnus at gcc dot gnu.org> ---
(In reply to Tobias Burnus from comment #16)
>     ln -s include-fixed/$target $target/include-fixed

That should have been:
  ln -s ../include-fixed/$target $target/include-fixed

with that change, ./gcc/xgcc -v -B`pwd`/gcc foo.c  works and shows:

#include "..." search starts here:
#include <...> search starts here:
 /tmp/tburnus-gcc-test/gcc/include
 /tmp/tburnus-gcc-test/gcc/powerpc64le-linux-gnu/include-fixed
 /tmp/tburnus-gcc-test/gcc/include-fixed
 /usr/local/include
 /usr/include/powerpc64le-linux-gnu
 /usr/include
End of search list.
...
# 30 "/usr/include/complex.h" 2 3 4
# 1
"/tmp/tburnus-gcc-test/gcc/powerpc64le-linux-gnu/include-fixed/bits/floatn.h" 1
3 4

and when continuing the bootstrap build, it now successfully finished with
Stage 1 and I am positive that it will also finish building Stage 2 + 3.

Reply via email to