I want to know the steps to make new C51 library and use it. If possible, please give out an example. Thanks.
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
In the IDE, just check 'Create Library'