#!/bin/sh gcc -dumpspecs | sed -e 's@/toolchain@@g' \ -e '/\*startfile_prefix_spec:/{n;s@.*@/usr/lib/ @}' \ -e '/\*cpp:/{n;s@$@ -isystem /usr/include@}' > \ $(dirname $(gcc --print-libgcc-file-name))/specs