Re: [cfe-dev] cygwin updates (was: dladdr and Dl_info)

2010-01-15 Thread Vincent R.
On Fri, 15 Jan 2010 13:40:53 -0500, Christopher Faylor wrote: > On Fri, Jan 15, 2010 at 11:19:27AM +0100, Corinna Vinschen wrote: >>On Jan 15 11:07, Vincent R. wrote: >>> >>> >>> >>> On 14/01/2010 14:20, Reini Urban wrote: >>> >>> I have a working cygwin llvm and llvm-gcc, >>> but h

Re: [cfe-dev] cygwin updates (was: dladdr and Dl_info)

2010-01-15 Thread Christopher Faylor
On Fri, Jan 15, 2010 at 11:19:27AM +0100, Corinna Vinschen wrote: >On Jan 15 11:07, Vincent R. wrote: >> >>> >> >>> 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 cyg

Re: [cfe-dev] cygwin updates (was: dladdr and Dl_info)

2010-01-15 Thread Vincent R.
On Fri, 15 Jan 2010 15:18:28 +0100, Corinna Vinschen > On Jan 15 11:40, Vincent R. wrote: >> It's not too difficult to add Dl_info definition (We will support only >> retrieving path name): >> >> typedef struct >> { >> const char *dli_fname[PATH_MAX]; /* Filename of defining object >

Re: [cfe-dev] cygwin updates (was: dladdr and Dl_info)

2010-01-15 Thread Corinna Vinschen
On Jan 15 11:40, Vincent R. wrote: > It's not too difficult to add Dl_info definition (We will support only > retrieving path name): > > typedef struct > { > const char *dli_fname[PATH_MAX]; /* Filename of defining object */ > void*dli_fbase; /* NA */ > const

Re: [cfe-dev] cygwin updates (was: dladdr and Dl_info)

2010-01-15 Thread Vincent R.
On Fri, 15 Jan 2010 11:19:27 +0100, Corinna Vinschen wrote: > On Jan 15 11:07, Vincent R. wrote: >> >>> >> >>> 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

Re: [cfe-dev] cygwin updates (was: dladdr and Dl_info)

2010-01-15 Thread Corinna Vinschen
On Jan 15 11:07, Vincent R. wrote: > >>> > >>> 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. > > >

Re: [cfe-dev] cygwin updates (was: dladdr and Dl_info)

2010-01-15 Thread 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, j

Re: [cfe-dev] cygwin updates (was: dladdr and Dl_info)

2010-01-14 Thread Eli Friedman
On Thu, Jan 14, 2010 at 1:45 PM, Reini Urban 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 patch

cygwin updates (was: dladdr and Dl_info)

2010-01-14 Thread 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 ll

Re: dladdr and Dl_info

2010-01-14 Thread Yaakov (Cygwin/X)
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, whi

Re: dladdr and Dl_info

2010-01-14 Thread Reini Urban
Reini Urban schrieb: cygwin has only dlsym() not the SGI DL_info + dladdr() yet. clang just needs it to get the path for the CIndex dll. This should be possible with the code in the LLVM_ON_WIN32 section, and convert then the path from win to posix with cygwin_conv_path(). Attached is the untes

Re: dladdr and Dl_info

2010-01-14 Thread Reini Urban
Vincent R. schrieb: I am trying to compile llvm on latest cygwin and I get an error about missing definitions for Dl_info and dladdr. const llvm::sys::Path& CIndexer::getClangPath() { // Did we already compute the path? if (!ClangPath.empty()) return ClangPath; // Find the locati

dladdr and Dl_info

2010-01-14 Thread Vincent R.
Hi, I am trying to compile llvm on latest cygwin and I get an error about missing definitions for Dl_info and dladdr. const llvm::sys::Path& CIndexer::getClangPath() { // Did we already compute the path? if (!ClangPath.empty()) return ClangPath; // Find the location where this library