现在debian的binutils-2.18.50和gcc-snapshot已经支持loongson2f和loongson2e
将版本升级到sid,然后增加experimental
就可以安装gcc-snapshot和binutils-2.18.50
然后在编译时用环境变量:export PATH="/usr/lib/gcc-snapshot/bin:$PATH"
然后就可以编译了:gcc -march=loongson2f -mtune=loongson2f -O3 -lpthread -o testcpu benchmark.c


tanhitzq 于 2009-02-04 12:47:12发表:
关于龙芯的太少了。
顺便问问楼主有没有龙芯啊