Sign inSign up

avarghesein/armhf_cpp_builder

By avarghesein

Updated over 5 years ago

Cross Compile/Build C++ Source for Arm Platforms (RaspberryPi), in Your X64 machines

Image
0

72

avarghesein/armhf_cpp_builder repository overview

##Cross Compile/Build C++ Source for Arm (RaspberryPi) in X64 machines

#On X64 Machine, enable Qemu Static, to Build Arm Binaries

    docker run --rm --privileged fkrull/qemu-user-static enable

#Create Container for Building C++ Source located in Host Machine (mentioned by $cbuildPath)

   docker run --name "PiBuilder" -d \
   --privileged \
   --mount type=bind,source=$cbuildPath,target="/mnt/cpp_source/"  \
   avarghesein/armhf_cpp_builder:v7_armhf

#Run below commands to Build the C++ Source for ArmV7 Platform

  docker exec PiBuilder bash -c "mkdir -p /mnt/cpp_source/build_arm;cd /mnt/cpp_source/build_arm;cmake ..;make"

#ArmV7 Binaries will be available in $cbuildPath/build_arm folder in Host Machine

Read More: https://github.com/avarghesein/-NIX/blob/main/Lubuntu%2020.04/Virtualization/Docker/RaspberryPI_CrossCompileC++.md

Tag summary

Content type

Image

Digest

Size

126.2 MB

Last updated

over 5 years ago

docker pull avarghesein/armhf_cpp_builder:v7_armhf