mingw-cross-env-list
[Top][All Lists]
Advanced

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

Re: [Mingw-cross-env-list] Specifying --build (was: make curl fails)


From: Tony Theodore
Subject: Re: [Mingw-cross-env-list] Specifying --build (was: make curl fails)
Date: Tue, 29 Nov 2011 06:07:39 +1100

On 29 November 2011 06:00, Mark Brand <address@hidden> wrote:
>
>> Mark, do you feel like testing if the config.site variables bypass the
>> cross-compile detection and remove the need for "--build" in the
>> wine-affected packages? You don't need to restart the build from
>> scratch, just create the '$(PREFIX)/$(TARGET)/share/config.site' file
>> and ./configure will use it.
>>
>
> Looks like bad news. Here's what I did:
>
> 0) set up automatic use of Wine:
>
>> sudo echo ':DOSWin:M::MZ::/usr/bin/wine:' >
>> /proc/sys/fs/binfmt_misc/register
>
> 1) made config.site:
>
>> cat usr/i686-pc-mingw32/share/config.site
>> ac_cv_build=x86_64-unknown-linux-gnu
>
> 2) Removed the --build option from curl.mk.
>
> 3) make curl
>
> The buld goes wrong in the usual place:
>>
>> checking whether we are cross compiling... no
>
> [..]
>>
>> checking for pkg-config... /usr/bin/pkg-config
>
> Adding the same config.site file to usr/share does not help.

Mmmm... could you try adding

build=x86_64-unknown-linux-gnu

to usr/i686-pc-mingw32/share/config.site

as well?

Thanks,

Tony



reply via email to

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