X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 	tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4B4F908D.2060709@x-ray.at>
References: <3ab31ceedb33b3519257e07931dbdaf5@mail.smartmobili.com> 	 <4B4F7C90.4030509@x-ray.at> <4B4F82B1.3080605@users.sourceforge.net> 	 <4B4F908D.2060709@x-ray.at>
Date: Thu, 14 Jan 2010 14:17:36 -0800
Message-ID: <f5aa3e9b1001141417m19ca7387p776543eecd2b4304@mail.gmail.com>
Subject: Re: [cfe-dev] cygwin updates (was: dladdr and Dl_info)
From: Eli Friedman <eli.friedman@gmail.com>
To: Reini Urban <rurban@x-ray.at>
Cc: cfe-dev@cs.uiuc.edu, cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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 Thu, Jan 14, 2010 at 1:45 PM, Reini Urban <rurban@x-ray.at> wrote:
> Yaakov (Cygwin/X) schrieb:
>>
>> On 14/01/2010 14:20, Reini Urban wrote:
>>>
>>> I have a working cygwin llvm and llvm-gcc,
>>> but had no time to produce a proper package yet.
>>> Attached are my cygport files and my local config.
>>> No patches were needed.
>>>
>>> But I haven't bothered to build clang yet,
>>> just the Clang llvmc plugin and llvm-gcc,
>>> which I thought is harder to build and gives us more gcc compatibility.
>>
>> Here's what I have so far for llvm/clang 2.6; the .cygport may be
>> missing something, it's been a few weeks since I've looked at it.
>
> On the cygwin mailinglist we came to some required clang patches.
> http://cygwin.com/ml/cygwin/2010-01/msg00587.html
> Sorry, untested, as I got unrelated linker errors.

The change to tools/CIndex/CIndexer.cpp looks fine if it works.  The
change to tools/driver/driver.cpp isn't really right; the code really
needs to be refactored.  The changes to the non-C++ include paths in
lib/Frontend/InitHeaderSearch.cpp look a bit suspicious, but it's okay
anyway.  The change to lib/Headers/stddef.h is completely wrong; what
is it supposed to fix?

-Eli

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

