Jump to content

Recommended Posts

Has anyone actually sucessfully created a .lib file using any of these compilers?

 

I recall seeing some posts about it here a few years ago, but nothing since.

I have tried doing it from the IDE, and command line with no success. When

I try to include the new lib file in a project it complains about it being corrupt.

 

One potential problem with creating a library file is that none of the code in

the source file is actually called by anything, and it might optimized out.

Of course, if you turn on the flag to keep code that isn't used, you get a

ton of stuff that isn't needed.

 

I am trying to create a Dallas One-Wire communication class and include it

in other projects by linking in the lib file instead of copying the source code around.

 

Any ideas will be appreciated.

 

Jim G.

Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...