红联Linux门户
Linux帮助

求助(菜鸟请教一C语言编译问题)

发布时间:2006-03-31 15:28:10来源:红联作者:cytlrx
请大家帮我看看是怎么回事:
我用的是ARM在Linux下编写C语言程序,名为pthread.c和Makefile
但是make之后产生不了可执行的文件,如下:
[root@localhost 02_pthread]# ls
Makefile pthread.c
[root@localhost 02_pthread]# make clean
rm -f ../bin/pthread ./pthread *.elf *.gdb *.o
[root@localhost 02_pthread]# make
armv41-unknown-linux-gcc -c -o pthread.o pthread.c
make: armv41-unknown-linux-gcc: Command not found
make: *** [pthread.o] Error 127
[root@localhost 02_pthread]# ls
Makefile pthread.c
请各位高手帮帮我,谢啦!
文章评论

共有 0 条评论