How to set gcc 4.3 default specs file?

后端 未结 3 651
长情又很酷
长情又很酷 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条回答
  •  悲&欢浪女
    2021-01-04 01:02

    I used this command line:

    /usr/bin/set-gcc-default-3.sh i686-pc-mingw32

    but you'll probably want:

    /usr/bin/set-gcc-default-4.sh i686-pc-linux-gnu

    (Note the -4 instead of -3)

    This is built using the "alternatives" stuff, please see

    /usr/sbin/alternatives.exe --help

    And also see pages such as http://linux.about.com/library/cmd/blcmdl8_alternatives.htm

提交回复
热议问题