开发者

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

开发者 https://www.devze.com 2023-01-26 07:36 出处:网络
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.开发者

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

精彩评论

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