Forum Discussion
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by jay_1025@Apr 11 2006, 09:51 PM hi hippo
sorry,before is my personal mistake.
when i want to config kernel and not to find "nios2-linux-uclibc" command.
[jay@localhost linux-2.6.16.1]$ cd ~/buildroot/build_nios2/staging_dir/bin
[jay@localhost bin]$ nios2-linux-uclibc-gcc -v
reading specs from /home/jay/buildroot/build_nios2/staging_dir/lib/gcc/nios2-linux-uclibc/3.4.6/specs
configured with: /home/jay/buildroot/toolchain_build_nios2/gcc-3.4.6/configure --prefix=/home/jay/buildroot/build_nios2/staging_dir --build=i386-pc-linux-gnu --host=i386-pc-linux-gnu --target=nios2-linux-uclibc --enable-languages=c,c++ --enable-shared --disable-__cxa_atexit --enable-target-optspace --with-gnu-ld --disable-nls --disable-threads --disable-multilib --enable-cxx-flags=-static
thread model: single
gcc version 3.4.6
[jay@localhost bin]$ cd ~/linux-2.6.16.1
[jay@localhost linux-2.6.16.1]$ make arch=nios2nommu cross_compile=nios2-linux-uclibc hwselect sysptf=nios_0.ptf
/bin/sh: nios2-linux-uclibcgcc: command not found
make: nios2-linux-uclibcgcc: command not found
make: nios2-linux-uclibcgcc: command not found
running hwselect
--- please select which cpu you wish to build the kernel against:
(1) cpu_0 - class: altera_nios2 type: f version: 5.0
i can not find "nios2-linux-uclibcgcc" command in ~/buildroot/build_nios2/staging_dir/bin dir.
but i can find "nios2-linux-uclibc-gcc".
thx
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14250)
--- quote end ---
--- Quote End --- don't worry, you just miss the spelling. CROSS_COMPILE=nios2-linux-uclibc- , in the trailing "-" You should use cut-and-paste to pick the command from your brower . So you can save some typo.