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