This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Want to compile GCC 4.3.2 / 4.4.0 under cygwin.


Eric Blake wrote:
> According to Hongyi Zhao on 12/23/2008 3:05 AM:
>> I've try to use the setup.exe to do this thing.  But I also meet the
>> following issues: which packages are the dependent pakages of gcc
>> 4.3.2?  More specifically, in order to make gcc 4.3.2 work correctly,
>> I should select which packages to install at the same time?  I find
>> that, unlike the debian's synaptic, the cygwin's setup tool cann't
>> decide the dependence among packages for me automatically.
> 
> In general, using setup.exe automatically selects all the dependencies
> without you having to worry about what they are; so it is sufficient for
> you to select gcc4 for installation, then install everything that was
> selected at the same time on your behalf by setup.exe.  If you truly have
> a case where it didn't, then we need more details in order to fix the bug.
> 
If you had an extremely old version of setup, it might not automatically
choose binutils as a dependency for gcc.
Additional packages are required to build gcc, such as diffutils, make,
automake, texinfo, gmp, mpfr (development versions).  This is not implied
by "make gcc work correctly."
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.
I'd be surprised if debian had a specific automatic dependency setup for
gcc build, although more of the tools would be included in the base
package selection, or come in automatically when installing gcc.

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]