How to set gcc 4.3 default specs file?

后端 未结 3 650
长情又很酷
长情又很酷 2021-01-04 00:19

When using gcc version 4.3.2, I see how to generate specs using:

$ /usr/local/gcc-4.3.2/bin/gcc -v
Using built-in specs

Now changing to the

3条回答
  •  旧时难觅i
    2021-01-04 00:45

    As hinted at by the strace suggestion by Johannes Schaub - litb, it was a problem with where the compiler was looking for the file. As it turns out, the non-working installation had an environment variable set in the .bashrc that was causing the confusion.

    The correct location for the specs file is indeed the same directory that libgcc is in. Just be sure you're looking there.

提交回复
热议问题