471,850 Members | 1,032 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,850 software developers and data experts.

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 6596
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,065 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 YellowAndGreen | last post: by
aboka
reply views Thread by aboka | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.