[cfe-commits] Create hello.exe via Microsoft link

Sebastian Redl sebastian.redl at getdesigned.at
Tue Jul 26 04:07:09 PDT 2011


On 26.07.2011 12:54, Andreas Bittel wrote:
> Dear Others,
Hi Andreas,

Please note that this is not the right list for such questions. You 
should send them to cfe-dev. cfe-commits is for commit messages and 
proposed patches.

>
> if I add the path for libcmt I receive another link error:
>
> C:\Programme\LLVM>"C:\Programme\Microsoft Visual Studio 9.0\VC\bin\link" hello.obj -defaultlib:C:\Programme\Microsoft Visual Studio 9.0\VC\lib\libcmt
>
> LINK : fatal error LNK1181: Eingabedatei "Visual.obj" kann nicht geƶffnet werden.
That's just because the path with spaces is misinterpreted. Try 
-defaultlib:"C:\Programme\Microsoft Visual Studio 9.0\VC\lib\libcmt"
Also, did you launch the console with the VS environment variables set? 
There ought to be a special link in the start menu VS folder for 
starting such a console. Then you shouldn't need the flag at all.

Sebastian



More information about the cfe-commits mailing list