Bug#634821: libgcc1: filename change breaks old gcc
Jonathan Nieder wrote:
> 1. Is there any GCC command-line option that people can use to work
> around this kind of thing (e.g., to add a directory to the front of
> the search order)?
Just for kicks (and in case there's a good place to document it):
mkdir /usr/local/lib/gcc/4.3.5
ln -s /lib/x86_64-linux-gnu/libgcc_s.so.1 \
/usr/local/lib/gcc/4.3.5/libgcc_s.so
cat >/usr/local/bin/gcc-4.3 <<-\EOF
#!/bin/sh
exec /usr/bin/gcc-4.3 -B/usr/local/lib/gcc/4.3.5 "$@"
EOF
chmod +x /usr/local/bin/gcc-4.3
seems to work as a stopgap.
Reply to: