26.4.5 Canadian Cross Tools

back: build and host options
forward: supporting cross compiler
 
fastback: supporting cross compiler
up: building with a cross compiler
fastforward: installing gnu autotools
top: autoconf, automake, and libtool
contents: table of contents
index: index
about: about this document

You must explicitly specify the cross tools which you want to use to build the program. This is done by setting environment variables before running the `configure' script. You must normally set at least the environment variables `CC' , `AR' , and `RANLIB' to the cross tools which you want to use to build. For some programs, you must set additional cross tools as well, such as `AS' , `LD' , or `NM' . You would set these environment variables to the build cross host tools which you are going to use.

For example, if you are building a Solaris program on a GNU/Linux system, and your GNU/Linux cross Solaris compiler were named `solaris-gcc' , then you would set the environment variable `CC' to `solaris-gcc' .


This document was generated by Gary V. Vaughan on May, 24 2001 using texi2html


GNU Autoconf, Automake and Libtool
GNU Autoconf, Automake, and Libtool
ISBN: 1578701902
EAN: 2147483647
Year: 2002
Pages: 290

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net