Reply to All
Show messages
Messages
Inbox
Search
Login
1–10
…
801–810
811–820
821–830
831–840
…
851–853
Raspberry Pi playfulness
From: ANT_THOMAS
14 Oct 2015 17:52
To: Peter (BOUGHTONP)
826 of 853
39808.826
In reply to
39808.825
No real reason. I think it was because there's a chance I could be in during the day so I didn't want it at 15, but it's not like 16 is at all comfortable though, may as well be 18 during the day.
On Auto the heating will only turn on when I'm in the house.
From: Chris (CHRISSS)
19 Jul 2016 21:26
To: ALL
827 of 853
39808.827
Anyone know how to cross compile stuff for the Pi on a desktop computer? I am working on my boiler program and it's getting annoying changing one character and waiting so long for it to compile on the Pi. Be nice if I could do it on here to speed things up.
From: CHYRON (DSMITHHFX)
19 Jul 2016 21:36
To: Chris (CHRISSS)
828 of 853
39808.828
In reply to
39808.827
Emulator?
http://www.makeuseof.com/tag/emulate-raspberry-pi-pc/
From: Chris (CHRISSS)
19 Jul 2016 23:26
To: CHYRON (DSMITHHFX)
829 of 853
39808.829
In reply to
39808.828
Worth a try. Thanks.
From: ANT_THOMAS
20 Jul 2016 09:52
To: Chris (CHRISSS)
830 of 853
39808.830
In reply to
39808.827
It is possible
Under ubuntu/debian install
gcc-arm-linux-gnueabi
Then rather than running something like this on the Pi
gcc -o program source.c
You'd do something like
arm-unknown-linux-gnueabi-gcc -o program source.c
https://www.raspberrypi.org/forums/viewtopic.php?f=31&t=7493
For the kernel but will give you what to install -
http://elinux.org/Raspberry_Pi_Kernel_Compilation#Ubuntu
Though after a bit more reading that forum post is quite old, and other instructions look more complex. Worth a go though.
This could be more useful
-
http://blog.felipe.rs/2015/01/20/how-to-build-a-gcc-cross-compiler-for-the-raspberrypi/
From: Chris (CHRISSS)
20 Jul 2016 19:41
To: ANT_THOMAS
831 of 853
39808.831
In reply to
39808.830
Thanks Ant. Got a VM with some Linux distro on it so I'll give that a go when I get a chance.
From: Chris (CHRISSS)
20 Jul 2016 21:34
To: Chris (CHRISSS)
832 of 853
39808.832
In reply to
39808.831
I've got it trying to compile but it says it can't find lsqlite3, lrf24-bcm and others
:(
I assume it's missing some libraries from the Pi. How do I fix that?
EDITED: 20 Jul 2016 21:49 by CHRISSS
From: Chris (CHRISSS)
20 Jul 2016 22:34
To: Chris (CHRISSS)
833 of 853
39808.833
In reply to
39808.832
I didn't compile anything on the Pi emulator but I did a benchmark and it runs slower than the Pi so doubt it'll be quicker for compiling.
From: Chris (CHRISSS)
20 Jul 2016 23:46
To: Chris (CHRISSS)
834 of 853
39808.834
In reply to
39808.833
Gonna try the
Windows toolchain for Raspberry/PI instead
From: Chris (CHRISSS)
20 Jul 2016 23:46
To: Chris (CHRISSS)
835 of 853
39808.835
In reply to
39808.834
Woah! Big text
:O