cygwin updates (was: dladdr and Dl_info)

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

cygwin updates (was: dladdr and Dl_info)

Reini Urban
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.

2010-01-14 Reini Urban <[hidden email]>

        * tools/CIndex/CIndexer.cpp: dlladdr workaround and path conversion
        * lib/Frontend/InitHeaderSearch.cpp: refactored

2009-11-24 Yaakov Selkowitz <[hidden email]>

        * tools/driver/driver.cpp, lib/Frontend/InitHeaderSearch.cpp,
        lib/Headers/stddef.h: various Cygwin gcc 4.3 updates
--
Reini Urban


_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

cygwin-4.3.patch (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: cygwin updates (was: dladdr and Dl_info)

Eli Friedman
On Thu, Jan 14, 2010 at 1:45 PM, Reini Urban <[hidden email]> 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
_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: cygwin updates (was: dladdr and Dl_info)

Vincent R.
>>>
>>> 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?

Still don't understand why cygwin doesn't implement dladdr, it would avoid
some
ugly ifdef...

_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev