X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=0.9 required=5.0	tests=AWL,BAYES_05,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4CD18989.1060505@dyximaq.de>
Date: Wed, 03 Nov 2010 17:10:49 +0100
From: Dirk Sondermann <ds-cygwin@dyximaq.de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Is part of gcc3 missing?
References: <21794C64742846718853014B087D0E6F@cit.wayne.edu>
In-Reply-To: <21794C64742846718853014B087D0E6F@cit.wayne.edu>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 03.11.2010 15:10, Lee Maschmeyer wrote:
> From: Andy Koppe
> Sent: Tuesday, November 02, 2010 16:56
>>
>> libgcc_s ships with gcc4 only, so it looks like ocaml depends on gcc4
>> now, probably since its recent update.
>>
>> You may not need the OCaml bindings being built there though. I see
>> you can disable them with the --disable-caml-bindings configure
>> option.
> 
> Hmm. Is that really the best approach unless absolutely necessary? "That
> doesn't work so do something else" has always struck me as a less than ideal
> approach to debugging. :-) Is it possible that caml could be repaired so it
> doesn't depend on GCC4?
> 

You could try to mix gcc-3 and gcc-4.

When in your build script "set-gcc-default-3.sh" is replaced by
"set-gcc-default-4.sh; export CC=gcc-3" gcc-4 is used by the ocaml
scripts (which ignore CC) and gcc-3 for building everything else.
I haven't checked if the generated files actually work, but at least
make succeeds without errors.

-Dirk

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

