Dear experts!
I'm trying to create a simple batch-file, that generates a library:
SET lib_debug=debug_lib.lib IF NOT EXIST %lib_debug% GOTO create_lib DEL %lib_debug% :create_lib lib51 create %lib_debug% FOR %%i IN (..\obj_dbg\*.obj) DO ( lib51 add %%i to %lib_debug%)
So the lib is going to be created (fine so far). But the lib is almost empty (<1KB). I've about 120 object-files with a total size of 8,8MB. Why the obj want not to be added? Do I have to take notice on the order of adding obj-files to the lib?
Thanks in advance!
Kind regards, Oliver
Why the obj want not to be added? Do I have to take notice on the order of adding obj-files to the lib?
At the size of project you've mentioned, I suspect you overlooked that for extended-format, large-model object files, you need the extended version of lib51, too:
libx51 add %%i to %debug_lib%
That's it, Hans-Bernhard!!
I should read the manual more carefully, because I'm dealing all the time with omf2-files only...
Thanks a lot,
Oliver
I should read the manual more carefully
Ache, Oliver, Jack Sprat would jump on you and kiss you on the forehead if he could!!!
View all questions in Keil forum