简体   繁体   English

cl编译器(Visual Studio)在哪里生成LIB和EXP文件

[英]Where does cl compiler (visual studio) generates LIB and EXP files

I used the following command in cl compiler that comes with Visual Studio. 我在Visual Studio附带的cl编译器中使用了以下命令。

cl /LD /O2 myprogram.c

and it said: 它说:

/out:myprogram.dll
/dll
/implib:myprogram.lib
myprogram.obj
    Creating library myprogram.lib and object myprogram.exp

My question is where did it output these files? 我的问题是它在哪里输出这些文件? They are not present in folder where my myprogram.c resides. 它们不在myprogram.c所在的文件夹中。

Found it. 找到了。 They are in folder c:\\Windows\\SysWOW64 它们位于文件夹c:\\ Windows \\ SysWOW64中

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM