Re: How to cross compile?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Please remove automake@xxxxxxx from followups.  This is an Autoconf
question.  Thank you.

* shamju joseph wrote on Sat, Oct 28, 2006 at 12:23:54PM CEST:
> 
> I want to cross compile one open source flash player
> ('gnash') for a Fusiv processor(ADI) based board. I've
>  the cross-compiler toolchain like lx4189-uclibc-gcc,
> lx4189-uclibc-g++ etc in my build system. 
> 
> I have one folder "lx4189-kenati-linux" in my build
> system with subfolders 'bin' for cross-compiler tools,
> 'lib' for other cross-compiled libraries, and
> 'include' for customised standard header files.

So use
  ./configure --host=lx4189-uclibc \
              CPPFLAGS=-I/usr/lx4189-kenati-linux/include \
              LDFLAGS=-L/usr/lx4189-kenati-linux/lib

and adjust the paths to match your exact setup.  No need to specify $CC.

Hope that helps.

Cheers,
Ralf


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux