http://qiita.com/atchy @github/items/fb9df9e5865d8c7f7a72
This site explains how to create a raspbian cross-compilation environment, but should Ubuntu's bit count be combined with raspbian?
Raspbian is
Linux raspberrypi 3.18.11+#781 PREEMPT Tue Apr 21 18:02:18 BST 2015 armv6l GNU/Linux
I'm using this.
I don't know how many bits armv6l is, but which one should I match, 32-bit or 64-bit?
Thank you for your cooperation.
Since it is a cross-compiled environment, it is not necessarily necessary for the host and target to have the same number of bits.
Rather,
so that you can write source code that does not cause problems with both 64bit and 32bit.
Wouldn't it be better to have a 64-bit host?
Host side 64-bit native compiler and
32-bit cross compiler for cross and
Compiling 32-bit code with raspberry-pi gives you a different warning.
© 2024 OneMinuteCode. All rights reserved.