X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0	tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
Message-ID: <50F033FE.40902@cs.utoronto.ca>
Date: Fri, 11 Jan 2013 10:47:10 -0500
From: Ryan Johnson <ryan.johnson@cs.utoronto.ca>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Clang and windows headers
References: <50EEEA49.1050507@alice.it> <50EEFA40.5010506@alice.it> <50EFFA63.1080900@alice.it>
In-Reply-To: <50EFFA63.1080900@alice.it>
Content-Type: text/plain; charset=UTF-8; format=flowed
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 11/01/2013 6:41 AM, Angelo Graziosi wrote:
> Yaakov wrote:
>
>> Forking an entire compiler within a
>> source package just for building that package?
>
> I think ROOT guys have good reasons to have a patched version of CLANG 
> if the new ROOT C++ interpreter they implement is called "cling"...
>
> You can read more here: http://root.cern.ch/drupal/content/cling
OT: if I understand right, they're not patching/forking Clang to make it 
a better compiler. They're essentially wrapping Clang with their own 
code to provide reflection and an interactive command-line interpreter 
for C++. That they can do it with ~7kLoC is pretty impressive.

Ryan


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

