On 10 Jul 30, Amit Arora wrote: > 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 ?
Compiling natively (on target) or in a qemu-based armel environment on the desktop will be required. I'm hoping our debian friends will suggest some nifty tricks to make this easy. Regards, Amit _______________________________________________ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev