Where did you decompress the downloaded toolchain, it should be in /opt/cross-loongson/mips64el-unknown-linux-gnu/?
The pre-built toolchain provided by LLC is not maintained, so, 1. you'd better install another one Assume you are using Ubuntu or Debian on your X86 system, then, you may need to add the following line to your /etc/apt/sources.list. deb http://emdebian.org/debian/ stable main Then, $ apt-get update $ apt-get install gcc-4.4-mipsel-linux-gnu 2. or compile it from scratch with the help of CLFS documenation http://cross-lfs.org/view/svn/ Regards, Falcon On Thu, Nov 24, 2011 at 11:02 PM, 李晖 <lihui205...@gmail.com> wrote: > hi, all > By following the description of linux loongson community (http:// > dev.lemote.com/trac/linux-loongson-community), I download the Cross- > Compile "Gcc 4.4.1 + Binutils 2.20 on X86" and download the loongson > linux kernel 2.6.35, then compile it, > I copied the lemote2f_defconfig from arch/mips/configs to the root > directory of the kernel, only enabled the " Enable the Anonymous > Shared Memory Subsystem" under the General Setup, > then I used the command "make ARCH=mips CROSS_COMPILE=mips64el-linux- > gnu-" compile the kernel, then the following errors were reported: > > andy@andy:~/work/linux-loongson-community-2.6.35.14$ make ARCH=mips > CROSS_COMPILE=mips64el-unknown-linux-gnu- > /opt/loongson-cross-tools/cross-loongson-gcc-4.4.1/bin/../libexec/gcc/ > mips64el-unknown-linux-gnu/4.4.1/cc1: error while loading shared > libraries: libcloog.so.0: cannot open shared object file: No such file > or directory > HOSTLD scripts/kconfig/conf > scripts/kconfig/conf -s arch/mips/Kconfig > > *** Error during update of the kernel configuration. > > make[2]: *** [silentoldconfig] Error 1 > make[1]: *** [silentoldconfig] Error 2 > make: *** No rule to make target `include/config/auto.conf', needed by > `include/config/kernel.release'. Stop. > > did any one come across this problem? Any tips or suggestions will be > appreciated! > > -- > You received this message because you are subscribed to the Google Groups > "loongson-dev" group. > To post to this group, send email to loongson-dev@googlegroups.com. > To unsubscribe from this group, send email to > loongson-dev+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/loongson-dev?hl=en. > > -- You received this message because you are subscribed to the Google Groups "loongson-dev" group. To post to this group, send email to loongson-dev@googlegroups.com. To unsubscribe from this group, send email to loongson-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/loongson-dev?hl=en.