October 2019
Intermediate to advanced
444 pages
10h 37m
English
In this recipe, we are creating a simple binary (step 1 and step 2) with a conditional compilation that matches the target architecture in order to see if it worked. Step 3 should show your architecture (typically x64 or x86_64); we install the cross-compilation toolkit in step 4 to try and get it to run on a Raspberry Pi 2 and above (step 5). After compiling the binary, we transfer it to the device (ARM binaries won't work on x86_64 instruction sets) for execution (step 6).
Keep reading if you are interested in more ...
Read now
Unlock full access