Re: CrossCompile

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sun, 29 Aug 2010 19:30:39 +1200

Amos Jeffries wrote:
> Henrik Nordström wrote:
>> How I have done it in the past is to use a configure cache presetting
>> the runtime test appropriately for the target.
>>
>> But this requires that all AC_TRY_RUN checks are made cacheable.
>>
>
> The ./configure raw code shows that the autoconf people use [:] in their
> own run-time test macros. Our ones with just [] expand into that error
> message. But changing ours to [:], or in some cases a nice local message
> seems to remove the auto-warnings.
>
> I *think* this will remove the need for such pre-seeding.
>
> The cf_gen remains a problem though. I really think we should go back to
> having that as a perl script. All its doing is text-manipulation or
> arrays during build and the code needed to switch build-hosts underneath
> automake so it can run is not trivial.
>
> Amos

Here is the patch that makes those ./configure changes.

kromonos:
   This is a patch -p1 on top of either the 3.1.6 or 3.1.7 bundle.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.7
   Beta testers wanted for 3.2.0.1

Received on Sun Aug 29 2010 - 07:30:47 MDT

This archive was generated by hypermail 2.2.0 : Sun Aug 29 2010 - 12:00:13 MDT