프로젝트

[감시 카메라] Obscura :: [ARM 보드] 문제해결 : jpeg 라이브러리 arm 보드 설치

appHunter 2009. 5. 6. 21:36
글을 다 날려서 다시 적는다. !!  (2009-05-06에 날림) 

2006/05/29 23:03   원본보기  



wget
http://www.ijg.org/files/jpegsrc.v6b.tar.gz

tar xvfz jpegsrc.v6b.tar.gz

CC=arm-linux-gcc ./configure --host=arm-linux --build=i686 --prefix=/usr/arm-linux

checking for gcc... arm-linux-gcc
checking whether the C compiler (arm-linux-gcc  ) works... yes
checking whether the C compiler (arm-linux-gcc  ) is a cross-compiler... yes
checking whether we are using GNU C... yes
checking how to run the C preprocessor... arm-linux-gcc -E
checking for function prototypes... yes
checking for stddef.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for size_t... yes
checking for type unsigned char... yes
checking for type unsigned short... yes
checking for type void... yes
checking for working const... yes
checking for inline... __inline__
checking for broken incomplete types... ok
checking for short external names... ok
checking to see if char is signed... Assuming that char is signed on target machine.
If it is unsigned, this will be a little bit inefficient.
checking to see if right shift is signed... Assuming that right shift is signed on target machine.
checking to see if fopen accepts b spec... Assuming that it does.
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking libjpeg version number... 62
creating ./config.status
creating Makefile
creating jconfig.h

make

... 생략
arm-linux-gcc  -o jpegtran jpegtran.o rdswitch.o cdjpeg.o transupp.o libjpeg.a
arm-linux-gcc -O2  -I.   -c -o rdjpgcom.o rdjpgcom.c
arm-linux-gcc  -o rdjpgcom rdjpgcom.o
arm-linux-gcc -O2  -I.   -c -o wrjpgcom.o wrjpgcom.c
arm-linux-gcc  -o wrjpgcom wrjpgcom.o


cp *.h /usr/arm-linux/include

cp libjpeg.a /usr/arm-linux/lib

잘 된다 ㅋㅋ