Hi Stuart,


On 14-12-11 17:47, Stuart Marsden wrote:
> Has anyone tried to compile Codec2 for Arm chips yet? I am getting a
> Raspberry Pi device as soon as they are available (Nokia are
> sponsoring me to get one through the QtonPi project).
Doesn't the rasberry pi come with a development enviroment by itself? If
it has gcc on the box, you should be able to compile it natively on the
box and it should run.


> I intend to use it as a simple platform for my UDP voice app I am
> slowly working on.  My code is easily portable due to Qt but I will
> need to build the Codec2 lib which I use.  I also am interested in
> trying my app on android via the Qt port for that so would also need
> to get an arm lib.
> Never cross compiled for Arm so not sure how I would start.
> Anyone done this yet or any pointers? I am on linux so would want to
> cross compile using gcc.
I've run the codec2 code on two ARM development boards: a friendlyarm
mini2440 and a pandaboard.

For the mini2440 (which only has 64 M of RAM), I need to cross-compile
the ARM code on a i386 machine.-, but they do provide a development
specially for that.
On the pandaboard, this runs ubuntu so I should be able to compile the
code overthere without cross-compiling. (however, for some reason, I
have issues with certain libraries when compiling C on it; so I ran the
code I compiled earlier for the mini2440. (althou I'm not 100 % if it
actually uses the FPU or not).

I did have problems with crosscompiling the code on a i386 box as part
of the compiling process includes compiling an application that needs to
run during compiling on the host and -when cross-compiling- it made the
code in ARM code (which of course did not run on the i386 box doing the
compiling).


One thing I did notice when compiling code for the ARM. DO make sure you
set the the "-O3" option (optimize) and the "mcpu=..." setting as that
did make a very remarkable difference in speed for certain code.
Especially for fixed-point based DSP code.



> Cheers,
> Stuart Marsden
73
kristoff - ON1ARF

------------------------------------------------------------------------------
Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits? 
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to