开发者

How do I link assembly with the C library with MSVC++ linker?

I found a simple assembly tutorial online that uses some C functions. I've already used NASM to generate a .obj file but I'm having trouble linking against the C library from the command line.开发者_StackOverflow中文版 How do I do this with link.exe?

I'm using Visual C++ 2010 Express.

Thanks for the help.


Specify one of the run-time library options: /MD (multithreaded DLL run-time) or /MT (multithreaded static run-time).

In debug builds, specify /MDd or /MTd respectively.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜