www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/11/03/12:11:31

X-Recipient: archive-cygwin AT delorie DOT 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 AT dyximaq DOT 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 AT cygwin DOT com
Subject: Re: Is part of gcc3 missing?
References: <21794C64742846718853014B087D0E6F AT cit DOT wayne DOT edu>
In-Reply-To: <21794C64742846718853014B087D0E6F@cit.wayne.edu>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019