This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Monday 17 January 2005 10:03 am, bertrand marquis wrote: > Hi, > > in most cases simply call ./configure --host=i686-pc-linux and set > CC,LD,AR and other friends to your cross ones (ex > CC=i686-pc-linux-gcc ... ./configure --host=i686-pc-linux) Yep, I use the following ---script--- DIR_BASE="/where/you/built/the/i686-pc-linux" SHELL="$DIR_BASE/bin/sh" CC="$DIR_BASE/bin/gcc" AR="$DIR_BASE/bin/ar" HOST="i686-pc-linux" TARGET="i686-pc-linux" LDFLAGS="-L$DIR_BASE/usr/lib -L$DIR_BASE/lib" CFLAGS="-I$DIR_BASE/usr/include -I$DIR_BASE/include -O2" PREFIX="$DIR_BASE" export SHELL=$SHELL export TARGET=$TARGET export HOST=$HOST export CC=$CC export AR=$AR export LDFLAGS=$LDFLAGS export CFLAGS=$CFLAGS set -x ./configure \ --target=$TARGET --prefix=$PREFIX/usr make make install ---script--- -- "What's the use of a good quotation if you can't change it?" -- Dr. Who ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |