[LLVMdev] Cygwin patches for 2.7

Aaron Gray aaronngray.lists at googlemail.com
Sat Mar 6 03:16:08 PST 2010


On 6 March 2010 10:47, Eric Christopher <echristo at apple.com> wrote:

>
> On Mar 6, 2010, at 2:44 AM, Aaron Gray wrote:
>
> >
> > clang fails with a dynamic linking problem.
>
> What's the problem? and if you would please file a bug that would be
> awesome :)
>
> thanks!
>
> Eric,

Neither Cygwin nor MinGW support Dynamic Linking. I am getting the following
:-

llvm[4]: Compiling CIndexer.cpp for Debug build (PIC)
/home/ang/svn/llvm-clang/tools/clang/tools/CIndex/CIndexer.cpp: In member
functi
on 'const llvm::sys::Path& CIndexer::getClangPath()':
/home/ang/svn/llvm-clang/tools/clang/tools/CIndex/CIndexer.cpp:64: error:
'Dl_in
fo' was not declared in this scope
/home/ang/svn/llvm-clang/tools/clang/tools/CIndex/CIndexer.cpp:64: error:
expect
ed `;' before 'info'
/home/ang/svn/llvm-clang/tools/clang/tools/CIndex/CIndexer.cpp:65: error:
'info'
 was not declared in this scope
/home/ang/svn/llvm-clang/tools/clang/tools/CIndex/CIndexer.cpp:65: error:
'dladd
r' was not declared in this scope
/home/ang/svn/llvm-clang/tools/clang/tools/CIndex/CIndexer.cpp:68: error:
'info'
 was not declared in this scope
make[4]: ***
[/home/ang/build/llvm-clang/tools/clang/tools/CIndex/Debug/CIndexer
.o] Error 1
make[4]: Leaving directory
`/home/ang/build/llvm-clang/tools/clang/tools/CIndex'

I am hoping I can just not build the indexer and will see if I can get a
patch together first for 2.7 before submitting a bug report if I have to.

Aaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100306/784f541f/attachment.html>


More information about the llvm-dev mailing list