Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RPi cross-compile C/C++ za MacOS (x86 -> ARM)
#13
E ako ti proradilo, proradilo i meni. Tongue

Lepo covek napisao tamo "Before we start anything I recently compiled the toolchain for Rpi3. It will save you a whole bunch of time to download it here rather than go through this proceedure."
https://www.jaredwolff.com/toolchains/

Code:
/Volumes/xtools/armv8-rpi3-linux-gnueabihf/bin/armv8-rpi3-linux-gnueabihf-c++ test.c -o app -O3 -s

ls -la app
-rwxr-xr-x  1 miki  staff  3776 Oct  7 22:23 app

file app 
app: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 4.3.0, stripped

I radi na RPi .... e to je vec napredak Smile
Reply


Messages In This Thread
RE: RPi cross-compile C/C++ za MacOS (x86 -> ARM) - by mikikg - 10-07-2018, 09:23 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)