[CMake] Problem compiling clang on cygwin, library prefix mismatch

Guilherme guibufolo at gmail.com
Fri Sep 19 05:17:15 EDT 2014


The output i see on the command line is:

make[2]: *** No rule to make target 'lib/libLLVMSupport.dll.a', needed
by 'bin/cygLLVMLineEditor.dll'.  Stop.

Well i'm trying to build all as shared.

On Fri, Sep 19, 2014 at 11:07 AM, Nils Gladitz <nilsgladitz at gmail.com> wrote:
> On 09/19/2014 10:55 AM, Guilherme wrote:
>>
>> Hello,
>>
>> When generating the cmake file all goes well but during compilation it
>> fails.
>>
>> One of the messages is:
>> Linking CXX shared library ../../bin/cygLLVMSupport.dll
>>
>> Where you can see that it has added the cyg prefix to the generated lib.
>>
>> But all the other targets search for libLLVMSupport.dll, which does not
>> exist.
>
>
> The targets are looking how/when?
>
> As a link time dependency shouldn't they be looking for the import library
> rather than the DLL?
>
> Nils
>


More information about the CMake mailing list