[mythtv] Regarding cross compilation of Mythtv for ARM

Lennart Sorensen lsorense at csclub.uwaterloo.ca
Fri Oct 11 14:58:59 UTC 2013


On Fri, Oct 11, 2013 at 04:36:00PM +0530, Brajesh Sharma wrote:
> actually there is not such option of --host while configuring mythtv
> although it is there in zeromq and that i have tried but no Luck . Any
> suggestion what this error is about ?
> Thank You
> Brajesh
> 
> 
> On Wed, Oct 9, 2013 at 7:20 PM, Lennart Sorensen <
> lsorense at csclub.uwaterloo.ca> wrote:
> 
> > On Wed, Oct 09, 2013 at 09:53:24AM +0530, Brajesh Sharma wrote:
> > > Thank you for replying but there was a slight mistake in there i have
> > > exported the variables as :
> > >
> > > export CC="distcc  /usr/local/xtools/arm-unknown-
> > > linux-uclibcgnueabi/bin/arm-unknown-linux-uclibcgnueabi-gcc
> > > export CXX="distcc  /usr/local/xtools/arm-unknown-
> > > linux-uclibcgnueabi/bin/arm-unknown-linux-uclibcgnueabi-g++"
> > >
> > > Is there anything else i need to export too ?
> > > and i dont understand what do you mean by "cross-compiling switch" I can
> > > see while configuring it is taking the xtool-gcc and g++.
> > > What else i need to take care please suggest .
> > > Hoping for early reply.
> > > Thanks for help ,Again .
> >
> > Well the error you posted had a big hint from configure about using
> > --host correctly when cross compiling.  When cross compiling you MUST
> > tell configure that.

Looks like someone messed with the configure script quite a bit and it
isn't quite standard autoconf anymore.

Does this option work:

--enable-cross-compile --cross-prefix=/usr/local/xtools/arm-unknown-linux-uclibcgnueabi/bin/arm-unknown-linux-uclibcgnueabi-

Not sure of --sysroot and --sysinclude have to be set too.

-- 
Len Sorensen


More information about the mythtv-dev mailing list