You can compile simple programs very similarly to how you normally use
gcc/g++. Source the OE SDK, then call CC or CXX. The environment script
exports these variables the way you would expect if you're familiar with
cross compiling at all. You *could* just call arm-oe-linue-gnueabi, but you
probably shouldn't.

For simple applications it's not too bad. Beyond a toy program or two
you'll really want to start using cmake. It's also important to note that
when you run a command line like that yourself you're probably missing out
on a bunch of optimizations and options that you otherwise take for granted.

On Fri, Nov 6, 2015 at 10:45 AM, Daniele Disco <
daniele.di...@telecomitalia.it> wrote:

> Thank you Philip but I was thinking to a "simpler" procedure like
> gcc-arm app.cpp -luhd -letc. -letc. -o app
>
> It is possible avoid the cmake passage?
>
> Daniele
>
>
>
> --
> View this message in context:
> http://gnuradio.4.n7.nabble.com/On-the-right-approach-for-developing-applications-to-be-run-on-an-E310-tp55779p56786.html
> Sent from the GnuRadio mailing list archive at Nabble.com.
>
> _______________________________________________
> 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