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]

Re: Configure tries to run cross-compiled programs (when buildingcrossgcc under cygwin)


Ralf Corsepius wrote:
You can try to preset the target's config.cache.

Eg. use something like this:

mkdir powerpc-linux
echo "ac_cv_prog_cc_cross=yes" > powerpc-linux/config.cache
<pathtosources>/configure --target=powerpc-linux [...]
No joy.  libiberty's configure doesn't check the cache for
things like AC_PROG_CC_WORKS.

I'm going to have to patch libiberty's configure.in, it looks like.
- Dan




------
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]