468,512 Members | 1,429 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,512 developers. It's quick & easy.

CL compiler options

Hi all,

I am new CL compiler user. Can anybody please tell me, what is the option for static linking and dynamic linking for linking the libraries? Please give an example, if possible.

Thanking you in advance.

nishantb
Oct 10 '06 #1
2 6487
Hi all,

I am new CL compiler user. Can anybody please tell me, what is the option for static linking and dynamic linking for linking the libraries? Please give an example, if possible.

Thanking you in advance.

nishantb

Plz reply, even if u know the option for static linking. I m working on NT with CL compiler and i need to link some libraries statically.
Oct 10 '06 #2
Banfa
9,056 Expert Mod 8TB
The question does not make sense, there is not option for static/dynamic linking.

You just include all the required objects and libraries (*.lib) on the linker line (or in the case of cl c/cpp files and libraries.

If you want the option to be a DLL rather than an EXE then you use the option /DLL to the linker (or /LD to cl)
Oct 10 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by Dirk Lehmann | last post: by
20 posts views Thread by News | last post: by
14 posts views Thread by joshc | last post: by
41 posts views Thread by Miroslaw Makowiecki | last post: by
2 posts views Thread by =?Utf-8?B?TUNN?= | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by fmendoza | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.