Hi Rob,

so, first of all: I recommend doing the compilation on a PC
(cross-compiling). In all experiences I've known of, compiling on
something as weak and RAM-sparse as the Pi takes nights, and needs a lot
of swap memory, making it impractical. Also note that setting up the
cross-compilation environment shouldn't take longer than compiling on
the Pi iself.

So, first of all, what kind of OS are you using on the Pi? Is it
something like debian (in which I'd plainly recommend installing GR from
debian packages, those being relatively up to date, or using debian's
build systems with updated/modified sources), or is it more something
like a classical embeddded OS like an image generated by OpenEmbedded?

Then: GNU Radio comes with an ARMv7/cortex-a8 compatible toolchain file,
which you can use for cross-compilation to such a target; not being an
expert in RPis, I think only the Pi B+ is an ARMv7. Which one are you using?

Then, and that's mostly out of curiosity: Maybe it's easier to help you
find a good way if you tell us what you're planning to do with the
Raspberry Pi and GNU Radio – usually, the Pi is not really the go-to
choice for digital signal processing, so the complexity of SDR you can
do with it is limited, but it might well suit you!

Best regards,
Marcus

On 13.04.2016 04:25, Rob Roschewsk wrote:
>
> Hi all,
>
> I'd like to compile GR from source for a raspberry pi (arm) ... I know
> there are some flags that need to be passed to cmake but I can't find
> a complete list ... or at least a consistent list
>
> Is there a reference I could use???
>
> Thanks!
>
> --> Rob, KA2PBT
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to