Crossing Compiling from my Linux
Posted: Wed Oct 15, 2014 10:58 pm
by lilzz
In my linux machine I did
make arch=arm
is that sufficient for the pi ? I try also make arch=arm bcm2835_defconfig but it complains No rule to make target bcm2835_defconfig
I notice there's no configure file inside the folder.
any advices for cross compiling on linux PC for Pi? Also it wouldn't work compiling on Mac system because Mac doesn't have the same header files as Linux PC.
Re: Crossing Compiling from my Linux
Posted: Wed Oct 15, 2014 10:59 pm
by ShiftPlusOne
Check the tutorial on elinux.
Re: Crossing Compiling from my Linux
Posted: Sat Oct 25, 2014 1:47 am
by arnokarner
So is there forum group for cross compiling for the raspberry pi, the yum repo updates are either non existent, or very slow in coming. The shell shock bash rpm is unsigned, seems an odd way to distribute a security fix. My interests are for PiDora, and my old galaxy phones.
Re: Crossing Compiling from my Linux
Posted: Sat Oct 25, 2014 6:10 am
by fruitoftheloom
Re: Crossing Compiling from my Linux
Posted: Sun Oct 26, 2014 3:52 am
by arnokarner
Ok, cross compiling the kernel, that is one, two, three rpms out of how many.
I was reading the red hat power point on porting to a new cpu, arch and yes the 5 step process involves compiling every thing on the hardware in question as nirvana. And yes I can see there point, but in lieu of waiting for digitally signed rpms from a questionable reliable repo, building them in a arm virtual machine, that closely mimics a raspberypi would be faster, and yes low level rpms that access hardware, it would not be a good choice. but bash, openssl, libxml2, etc, other rpms that have had errata and need to be addressed, if you want your pi to be safe on the net, attached to the net, or a free standing wireless device. It should not be hard to grab digitally signed source rpms, and compile them in an arm virtual machine. Was more to what I was referring to, and at least if they compiled there they would be worthy of recompiling on a pi, with 32gb flash 8gb for swap, and waiting for the result. It sucks waiting 5 hours to find out you have a syntax error, etc.