This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

make new library

I want to know the steps to make new C51 library and use it.
If possible, please give out an example.
Thanks.

Parents
  • You do not state if you want to do it through the IDE or a .bat file. If you use .bat, here is an example:

    if not exist amd.lib goto usliex
    del amd.lib
    :usliex
    c:\tools\keil\c51\bin\lib51 c amd.lib			>..\trash\trashbin
    c:\tools\keil\c51\bin\lib51 a MDmain.obj   to amd.lib	>..\trash\trashbin
    c:\tools\keil\c51\bin\lib51 a MDutil.obj   to amd.lib	>..\trash\trashbin
    c:\tools\keil\c51\bin\lib51 a MDfind.obj   to amd.lib	>..\trash\trashbin
    Erik

Reply
  • You do not state if you want to do it through the IDE or a .bat file. If you use .bat, here is an example:

    if not exist amd.lib goto usliex
    del amd.lib
    :usliex
    c:\tools\keil\c51\bin\lib51 c amd.lib			>..\trash\trashbin
    c:\tools\keil\c51\bin\lib51 a MDmain.obj   to amd.lib	>..\trash\trashbin
    c:\tools\keil\c51\bin\lib51 a MDutil.obj   to amd.lib	>..\trash\trashbin
    c:\tools\keil\c51\bin\lib51 a MDfind.obj   to amd.lib	>..\trash\trashbin
    Erik

Children