autoconf
[Top][All Lists]
Advanced

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

Re: configure script cross-compile issues


From: Noah Misch
Subject: Re: configure script cross-compile issues
Date: Sun, 5 Aug 2007 19:40:26 -0700
User-agent: Mutt/1.5.9i

On Sun, Aug 05, 2007 at 09:27:26PM +0100, Mark Fortescue wrote:
> I am having big problems with autoconf configure scripts and cross 
> compiling as the defaults are wrong or the tests used make invalid 
> assumptions about being able to run cross-compiled code.
> 
> Is the a 'I am using glibc-2.3.x' setup that can be used to make 
> configure scripts at least get the basics like malloc correct?

Most `configure' scripts use tests supplied with Autoconf as well as other tests
that the package developer wrote or imported from third-party sources.  If the
standard tests yield incorrect results when cross-compiling, please let us know
more details.  We may be able to fix the problem.

> Fixing configure scripts (mainly as they are auto generated) is very 
> tedious and difficult. There must be a better way to get cross compilation 
> settings correct.

It can be easier to edit `config.h' and Makefile variables directly to get
things working.  You can distill the manual changes into `configure.ac'
modifications when finished.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]