求助(菜鸟请教一C语言编译问题)(转)[@more@]请大家帮我看看是怎么回事:
我用的是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
请各位高手帮帮我,谢啦!
我用的是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
请各位高手帮帮我,谢啦!
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10617542/viewspace-949257/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/10617542/viewspace-949257/