https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123976
--- Comment #6 from Peter Dyballa <Peter_Dyballa at web dot de> ---
I think this should not make a difference. libgcc/Makefile.in has a path
$(srcdir)/config/$(whatever)
to the C header files. This led the last time, as reported, to:
make[3]: Entering directory
`/opt/local/var/macports/build/gcc15-678e8911/work/build/powerpc-apple-darwin9/libgcc'
# If this is the top-level multilib, build all the other
# multilibs.
ln -s
/opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/gthr-posix.h
gthr-default.h
ln -s
/opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/config/no-unwind.h
md-unwind-support.h
ln -s
/opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/unwind-generic.h
unwind.h
DEFINES=''
HEADERS='/opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/config/i386/darwin-lib.h'
\
/opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/mkheader.sh
> tmp-libgcc_tm.h
/bin/sh
/opt/local/var/macports/build/gcc15-678e8911/work/gcc-15.2.0/libgcc/../move-if-change
tmp-libgcc_tm.h libgcc_tm.h
The (only three) symlinks are created in the build tree and point to the source
tree.