Try to modify "Makefile" for the project(s). There should be line "CFLAGS = ...". Find "/O2" in this line and change it to "/Od /Zi", or to "/O2 /Zi" if you need to keep optimization and add debug information to optimized code.
Then, add "/DEBUG" to "LINK_CMD" line. Rebuild the sample with "build_ia32.bat cl9" command.
thanks for your answer, now i have a .lib with debugging info, however it did not create any vc90.pdb file (that is usually created when compiling in "debug" from VS) is that, somehow, included in the .lib?