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

--- Comment #5 from Xi Ruoyao <ryxi at stu dot xidian.edu.cn> ---
(In reply to Martin Liška from comment #4)
> (In reply to Xi Ruoyao from comment #3)
> > marxin's patch:
> > 
> > http://gcc.gnu.org/ml/gcc-patches/2017-08/msg01116.html
> > 
> > But this patch doesn't work while /my_bin/bin contains a symlink.
> 
> Can you please describe your set up is more detail?

cd $BLDDIR
$SRCDIR/configure && make -j$CPUNUM
cd gcc
for i in ar nm ranlib; do ln -sv gcc-$i $i; done
export PATH=$PWD:$PATH
ar
(fork infinite processes)

Since my BLDDIR is /home/xry111/build/gcc, and /home/xry111/build is linked to
/mnt/mm1/xry111, remove_prefix failed to remove /home/xry111/build/gcc/gcc from
the prefixes.  If change to

export PATH=$(realpath $PWD):$PATH

It would be ok.

Reply via email to