[Top][All Lists]

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

Re: cross compiling --error when autoconf

From: Stepan Kasal
Subject: Re: cross compiling --error when autoconf
Date: Tue, 8 Mar 2005 09:39:39 +0100
User-agent: Mutt/1.4.1i

[I removed the bug-automake list from the cc list, as we are not
discussing any automake bug.]

Hello Hema K,

thanks.  This description of your problem is much better than the
other ones.  (I apologize that I have missed this yesterday.)

On Sat, Mar 05, 2005 at 11:19:32AM -0300, Hema K wrote:
> actually i want to compile(ie cross compile mutt) with mb-gcc
> (for the microblaze processor and uclinux OS) instead of gcc.

You should be able to do this without any change to mutt's
configure script, just by specifying the right --host.
Please read the node "Specifying Names".

So my general impression is that it was mistake to touch


> so by studying the documentation of autoconf, i started by 
> (1) adding AC_CANONICAL_SYSTEM in
> (2) adding AC_TRY_RUN(mb-gcc) in
> (3) adding AC_CANONICAL_TARGET(microbalze-uclinux) in
> then did autoupdate and autoconf 

In the manual for autoconf-2.59, you can find that both
And the AC_CANONICAL_TARGET macro corresponds to --target option,
which you shouldn't use here; see the node mentioned above.

The nodes "Obsolete Macros" and "Run Time" explain what to do
instead of AC_TRY_RUN.

And I don't think you should run "autoupdate" here.  The
is usable as it is.

        Stepan Kasal

reply via email to

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