On Fri, Jul 30, 2010 at 4:45 PM, Vishwanath Sripathy
<vishwanath.sripa...@linaro.org> wrote:
> Amit,
> I tried to compile it for OMAP, but it failed to compile. Little digging
> showed that Make file does not seem to have entries for ARM tool chains. So
> I think you need to have a config file kind of thing to get powertop cross
> compiled for arm based platforms.

Yes, but it may not be as simple. PowerTOP uses libncursesw library to
link with. Hence for cross compilation we need to make sure that this
(or a non-wide char ncurses library, i.e. libncurses) should also be
cross compiled for target ARM. And then we should have some option in
Makefile (LIBPATH & INCPATH) to point to it.

Will it make sense to have a "readme.ARM" or some other file in
powertop which describes this step ? Any suggestions on how best to do
this ?

Thanks!
--
Regards,
Amit Arora

> Vishwa

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to