Debian Wheezy (amd64) VM에서 beaglebone black (armhf 사용) 용 Linux 커널을 빌드하려고합니다. 그러나 gcc 및 기타 도구의 armhf 버전을 구해야합니다.armhf toolchain Debian Wheezy에서 Beaglebone Black 커널 컴파일
여러 포럼과 블로그에서 내가 이해할 수있는 것으로부터 이전에는 크로스 컴파일러를 사용하는 데 사용되었던 emdebian 체인이 더 이상 지원되지 않으며 MultiArch가 앞선 방법입니다. 다음 몇 년 동안 여러 번 빌드해야하기 때문에 MultiArch를 사용하고 싶습니다.
그래서 몇 가지 질문 :
어떻게 데비안에 씩씩 거리는 armhf의 GCC의 작업 버전을받을 수 있나요? 내가 시도 :
dpkg --add-architecture armhf sudo apt-get install gcc:armhf
하지만이 때문에 (APT 버전 0.9.7.9 (AMD64) & 때 dpkg 버전 1.16.15 (AMD64) 모두 여러 아키텍처 지원을 주장) 종속성을 해결할 수없는 것에 실패합니다. 내가 할 모든 도움이되지 않습니다
sudo apt-get build-dep armhf gcc
을하고Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: gcc:armhf : Depends: cpp:armhf (>= 4:4.6.3-8) but it is not going to be installed Depends: gcc-4.6:armhf (>= 4.4.7-1~) but it is not going to be installed E: Unable to correct problems, you have held broken packages.
입니다 중 하나 의존성 자체가 다른 의존성이 있기 때문에 어떤 apt-get을 재귀 적으로 확인할 수 없습니다.
커널 빌드에 필요한 다른 armhf 관련 도구에는 어떤 것이 있습니까? 어떻게 그들을 얻을 수 있을까요?
쉬운 방법이 있습니까?
만 커널에 대한 툴체인을해야하는 경우에는 ([Buildroot]와 더 낫다 http://nightly.buildroot.org/manual.html# _cross_compilation_toolchain). 이 툴체인을 외부 적으로 커널에 사용하거나 BR에서 커널을 컴파일 할 수 있습니다. – yegorich
이것을 시도해 보셨습니까? apt-get install gcc-4.7-arm-linux-gnueabihf g ++ - 4.7-arm-linux-gnueabihf'? – yegorich
yegorich : 데비안 Wheezy는 repos에 패키지를 가지고 있지 않습니다. –