loongson232专题

源码编译zlib-1.2.3.tar.bz2时,需要指定CFLAGS=-march=loongson232,会以+=传进Makefile

在源码编译zlib-1.2.3.tar.bz2时, CC=mips-wrs-linux-gnu-gcc  ./configure  make   出现error:opcode not support in this processor mips1 ‘movz ’$1 $...  解决方法: 在configure时,指定CFLAGS="-march=loongson232"即可。 即C