How can I create .lib files and .dll files in VC++ with cl.exe from the command line?
How can I create .lib files and .dll files in VC++ with cl.exe from
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Visual Studio comes with a library tool called
LIB.EXEwhich can be used to create library files from object files. If you set up the command line so that you haveCL.EXEon the path, you should also be able to runLIB.EXE.E.g.
To create a dll, you just use
LINK.EXE(as for executables) but with the/DLLswitch.E.g.