libgoogle-perftools-dev의 32비트 및 64비트 버전 설치

libgoogle-perftools-dev의 32비트 및 64비트 버전 설치

저는 Debian Stretch를 사용 중이고 필요합니다Google 실적 도구내 프로그램 중 일부를 분석해 보겠습니다. 내 컴퓨터는 64비트입니다. gcc -m3264비트와 32비트를 모두 사용하여 프로그램을 만들었습니다. 두 가지를 모두 분석할 수 있었으면 좋겠습니다. 나는 libgoogle-perftools-dev그것을 설치했다. 이제 x86 변형을 추가하려고 할 때 aptx64 변형을 제거하고 싶습니다(아래 참조). 두 변형을 나란히 설치할 수 있습니까?

$ sudo apt install libgoogle-perftools-dev:i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libboost-chrono1.62.0 libboost-program-options1.62.0 libboost-regex1.62.0 libboost-thread1.62.0 libstemmer0d
  libunwind-dev libunwind8 libunwind8-dev libyaml-cpp0.5v5 mongo-tools
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libgoogle-perftools4:i386 libstdc++6:i386 libtcmalloc-minimal4:i386
The following packages will be REMOVED:
  google-perftools libgoogle-perftools-dev libgoogle-perftools4 libtcmalloc-minimal4 mongodb mongodb-clients
  mongodb-server
The following NEW packages will be installed:
  libgoogle-perftools-dev:i386 libgoogle-perftools4:i386 libstdc++6:i386 libtcmalloc-minimal4:i386
0 upgraded, 4 newly installed, 7 to remove and 0 not upgraded.
Need to get 1,247 kB of archives.
After this operation, 115 MB disk space will be freed.
Do you want to continue? [Y/n] 

답변1

다양한 패키지에 google-perftools필요한 선언이 없습니다.Multi-Arch:그들의 제어 파일, 아니오, 병렬로 설치 i386및 패키지하는 것은 불가능합니다(강제 설치로 인해 많은 불만이 발생하고 다른 패키지가 설치되거나 업그레이드되지 않는 경우 제외).amd64apt

이 기능을 활성화하도록 요청하는 버그를 신고할 수 있습니다. 이렇게 하려면 reportbug libgoogle-perftools-dev프롬프트를 실행하고 따르십시오.

바라보다64비트 Debian/Ubuntu에서 32비트 프로그램을 어떻게 실행하나요?64비트 시스템에서 32비트 프로그램을 실행하는 다른 방법(예:자일스).

관련 정보