linux

lrzsz cross-compile

앨러리퀸 2010. 10. 5. 20:56
예전에 분명히 해봤던 기억이 있는데

실제로 다시 해보려니 안되었다..

[root@localhost]# ./configure --host=arm
[root@localhost]# make

흠.. 이런식은 당연히 안되었다 ㅋ

다시

[root@localhost]# ./configure --host=arm
[root@localhost]# vi Makefile 에서 CC 부분을 gcc -> arm-linux-gcc 로 바꾸었다.

그래도 안됨 ㅠ

그래서 인터넷 검색해봤음

참조 :http://tadoms.tistory.com/category/OS

http://www.ohse.de/uwe/software/lrzsz.html

[root@localhost]# CC=arm-linux-gcc ./configure --host=arm-linux-gcc
[root@localhost]# make

그러면 lrz, lsz 생김 file 명령어로 확인해봄


다음과 같이 ARM 용으로 bin 파일이 생성되었다