./configure CC=arm-linux-gcc --host=arm-linux --build=i686-linux --enable-shared --enable-static --without-fp --without-x --disable-mmx CXXFLAGS="-pipe -DQT _QWS_IPAQ -DQWS -fno-exceptions -fno-rtti -O2 -DQT_NO_DEBUG -DQT_SHARED"
vi ccvt/configure
의 파일의 endian 체킹하는 루틴을 다음과 같이 수정하시면 됩니다.
echo "$as_me:$LINENO: checking endianness of machine" >&5
echo $ECHO_N "checking endianness of machine... $ECHO_C" >&6
cat >>confdefs.h <<_ACEOF
#define LITTLE_ENDIAN 1
_ACEOF
echo "$as_me:$LINENO: result: Little" >&5
echo "${ECHO_T}Little" >&6
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
# Check whether --with-qt or --without-qt was given.
그냥 간단하게 little endian으로 쓰시면 됩니다. 고정해서....^^
>우선 친절하게 알려주셔서 감사드립니다.
>
>마지막 답변 달아 주신 거 보고 궁금한 게 있어서 이렇게 다시 글을 올립니다.
>
>우선 크로스 컴파일러 path는 /usr/local/arm/oe/ 밑에 arm-linux, bin, lib등등 이구요
>버전은 gcc-3.3.4입니다. 그리고 말씀하신 /usr/local/arm/oe/bin밑에 모든 바이너리 이름들은
>전부 arm-linux-XXX로 되어 있습니다. ( ex>arm-linux-gcc, arm-linux-g++, arm-linux-strip...)
>이런 상태에서 어느 부분을 수정하라는 건지 잘 모르겠습니다.
>
>제가 camstream-0.27을 arm(s3c2440)용으로 컴파일하기 위한 기본사항은 아래와 같습니다.
>
>제 호스트 환경은 Fedora core 8 2.6.24 #1 SMP과 같고 현재 환경설정(set)은 1번 첨부 파일에 있는 것과 같습니다. (QTDIR, QTINC등은 맞는지도 알려주세요.)
>
>그리고, camstream-0.27.tar.gz소스를 풀어 x-compile.sh(./confiure)은 다음과 같습니다.
>
>./configure CC=arm-linux-gcc --host=arm-linux --build=i686-linux --enable-shared
> --enable-static --without-fp --without-x --disable-mmx CXXFLAGS="-pipe -DQT _QWS_IPAQ -DQWS -fno-exceptions -fno-rtti -O2 -DQT_NO_DEBUG -DQT_SHARED"
>
>이렇게 친 후, configure에 대한 결과는 2번 첨부파일에 있으니 봐주세요.
>
>여기 저기 바꾸고, ccvt의 configure파일을 수정도 해보고, 이것저것 해봤지만 계속 삽질만
>하네요ㅠ.ㅠ
>
>지금까지 제가 말씀드린 환경과 cmd등에서 어느 부분이 잘못되었는지 다시 한번만 상세하게
>알려주세요.
>
>사흘째의 무한 삽질(?)을 이젠 그만 하고 싶습니다.
>
>그럼 수고하시고. 답변 부탁 드릴께용~!!^^*
>
>
>