나는 GNU/Libtool
에 관한 아주 기본적인 질문이있다. 내 프로젝트는 GNU/autotools
에 의해 빌드되고 GNU/Libtool
에 의해 빌드 된 공유 객체를 포함합니다. 나는 x86-64
시스템에서 i386
공유 객체를 컴파일하려면, 그래서 내가 할 :GNU/Libtool 크로스 컴파일
$ ./configure --build=i386
checking for a BSD-compatible install... /usr/bin/install -c
...
checking whether to build shared libraries... no
checking whether to build static libraries... yes
...
config.status: executing depfiles commands
config.status: executing libtool commands
$
구성 스크립트는 공유 라이브러리가 지원되지 않습니다 말해, 그리고 make
명령이 실패합니다. 이 크로스 컴파일 문제를 해결하는 방법은?
대답을 Libtool manual으로 찾아야합니까?
32 비트 코드 생성을 강제하기 위해 컴파일러와 링커에'-m32' 플래그를 추가했습니다. –