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

How to use library?

I use uVision2 of Windows version.

How to create my own library and how to use it when linking?

Parents
  • But I still don't know how to directly use it in Windows environment. Possible?

    Not exactly, you could call it from a batch file which the Windows environment could call for you. Best just to go to the trusty old command line and type:

    C:\Keil\C51\BIN>lib51 ?
    
    LIB51 LIBRARY MANAGER V4.12
    COPYRIGHT KEIL ELEKTRONIK GmbH 1987 - 1999
    Add      {file[(module[,...])]} [,...] TO library_file
    Create   library_file
    Delete   library_file(module[,...])
    Exit
    eXtract  library_file(module) TO file
    Help
    List     library_file [TO file] [PUBLICS]
    Replace  {file[(module[,...])]} [,...] IN library_file
    Transfer {file[(module[,...])]} [,...] TO library_file
    - Mark

Reply
  • But I still don't know how to directly use it in Windows environment. Possible?

    Not exactly, you could call it from a batch file which the Windows environment could call for you. Best just to go to the trusty old command line and type:

    C:\Keil\C51\BIN>lib51 ?
    
    LIB51 LIBRARY MANAGER V4.12
    COPYRIGHT KEIL ELEKTRONIK GmbH 1987 - 1999
    Add      {file[(module[,...])]} [,...] TO library_file
    Create   library_file
    Delete   library_file(module[,...])
    Exit
    eXtract  library_file(module) TO file
    Help
    List     library_file [TO file] [PUBLICS]
    Replace  {file[(module[,...])]} [,...] IN library_file
    Transfer {file[(module[,...])]} [,...] TO library_file
    - Mark

Children
No data