This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Want to compile GCC 4.3.2 / 4.4.0 under cygwin.
- From: "Dave Korn" <dave dot korn dot cygwin at googlemail dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 4 Jan 2009 19:22:16 +0000
- Subject: Re: Want to compile GCC 4.3.2 / 4.4.0 under cygwin.
- References: <pi6vk4p665as7dmeqhjus8jpene11itnku@4ax.com> <494FA200.9080908@byu.net> <7hd1l4t248rshq8dmi7kciov5md7cb62l7@4ax.com> <4950E227.6050501@byu.net> <4950ECBC.7060307@sbcglobal.net> <4950EE9E.5040703@byu.net>
Eric Blake wrote:
> According to Tim Prince on 12/23/2008 6:50 AM:
>> After installing automake, it is necessary to over-write autoconf with
>> autoconf 2.59 which is easily built from source, as gcc build requires
>> that specific version.
>
> The distro comes with a version of autoconf 2.59, and you can use the
> alternatives package to make it your primary version. Also, the normal
> autoconf installed by the distro is a wrapper script, which honors various
> environment variables to forward to the desired autoconf version on a
> per-package basis.
You're thinking of automake, not autoconf.
Automake ships every version from 1.4 to 1.10, and has an alternatives
wrapper to let you select a default as well as a script to ensure the same
version is picked to regenerate any Makefile.in as was previously used.
Autoconf ships only one version each of 2.1 and 2.5 series, currently
2.13-5 and 2.63-1, and has a wrapper script, but it only helps hide the
differences in version number within a series. You can specify
WANT_AUTOCONF=2.5 and it will select whichever one of 2.59 to 2.63 you have
installed, but you only have one of those installed.
> So you don't have to build autoconf 2.59 from scratch
> to build gcc.
No, you really do need it, either by rolling back your install, maybe using
the Cygwin Time Machine, or by building it from source.
See also: http://cygwin.com/ml/cygwin-apps/2009-01/msg00000.html
cheers,
DaveK
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/