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: Mark Brand
Subject: Re: [Mingw-cross-env-list] Specifying --build (was: make curl fails)
Date: Mon, 28 Nov 2011 20:00:50 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:8.0.1) Gecko/20111121 Firefox/8.0.1 SeaMonkey/2.5


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.

Mark






reply via email to

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