A Linker issue

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

A Linker issue

GiraldNet
This post was updated on .
I've been trying to get clang running on my pc for weeks. I'm trying to get it to work on windows 7.
I've built entirely the llvm and clang repositories and it all seems to be fine at first sight. I've done some simple command tests using clang-check to see the AST of some programs. But when I try to un those programs using only the clang command it says this:

"clang.exe: error: linker command failed due to signal 1(use -v to see invocation)"

But the worst is that I also get this popup message saying that ive got missing the mspdb110.dll file.

The thing is that I have changed the linker a few times, first I had the one that comes with CygWin, and the linker failed due to signal 1, the MSVisualStudio linker, and right now i'm using the GNUWIn32.

I have no idea what is happening so please if someone could give me a hint.
Reply | Threaded
Open this post in threaded view
|

Re: A Linker issue

Nikola Smiljanic
What compiler did you use to build clang?


On Tue, Jan 14, 2014 at 8:33 AM, GiraldNet <[hidden email]> wrote:
I've been trying to get clang running on my pc for weeks. I'm trying to get
it to work on windows 7.
I've built entirely the llvm and clang repositories and it all seems to be
fine at first sight. I've done some simple command tests using clang-check
to see the AST of some programs. But when I try to un those programs using
only the clang command it says this:

*"clang.exe: error: linker command failed due to signal (use -v to see
invocation)"*

But the worst is that I also get this popup message saying that ive got
missing the *mspdb110.dll* file.

The thing is that I have changed the linker a few times, first I had the one
that comes with *CygWin*, and the linker failed due to signal 1, the
*MSVisualStudio *linker, and right now i'm using the *GNUWIn32*.

I have no idea what is happening so please if someone could give me a hint.



--
View this message in context: http://clang-developers.42468.n3.nabble.com/A-Linker-issue-tp4037126.html
Sent from the Clang Developers mailing list archive at Nabble.com.
_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev


_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: A Linker issue

Serge Pavlov
You need to set up appropriate environment variables, for instance, by running shell using shortcut "Developer Command Prompt for VS2012" or similar.


2014/1/16 Nikola Smiljanic <[hidden email]>
What compiler did you use to build clang?


On Tue, Jan 14, 2014 at 8:33 AM, GiraldNet <[hidden email]> wrote:
I've been trying to get clang running on my pc for weeks. I'm trying to get
it to work on windows 7.
I've built entirely the llvm and clang repositories and it all seems to be
fine at first sight. I've done some simple command tests using clang-check
to see the AST of some programs. But when I try to un those programs using
only the clang command it says this:

*"clang.exe: error: linker command failed due to signal (use -v to see
invocation)"*

But the worst is that I also get this popup message saying that ive got
missing the *mspdb110.dll* file.

The thing is that I have changed the linker a few times, first I had the one
that comes with *CygWin*, and the linker failed due to signal 1, the
*MSVisualStudio *linker, and right now i'm using the *GNUWIn32*.

I have no idea what is happening so please if someone could give me a hint.



--
View this message in context: http://clang-developers.42468.n3.nabble.com/A-Linker-issue-tp4037126.html
Sent from the Clang Developers mailing list archive at Nabble.com.
_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev


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




--
Thanks,
--Serge

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