[cfe-dev] clang: Compiling dll with clang

Jean-Daniel Dupas devlists at shadowlab.org
Sun Dec 9 03:29:28 PST 2012


Le 9 déc. 2012 à 11:11, Kim <soldoutseashell at gmail.com> a écrit :

> Hey guys,
> 
> Could someone be so kind as to tell me how to build a dll with clang?
> 
> While trying to compile a very basic test dll I keep getting:
> 
> clang++: error: unable to execute command: program not executable
> clang++: error: linker command failed due to signal (use -v to see invocation)
> 
> I'm unable to find any tutorials or info on the correct syntax to use and any caveats you need to keep in mind specifically for clang when building dlls.
> 

Did you try to use '-v' to see the command invocation, and get a clue about what is wrong ? 

-- Jean-Daniel








More information about the cfe-dev mailing list