multiple listing files

Hello,

I have a question about KEIL generated listing files (*.lst).
My project has several *.c files, and when it generates listing files it makes one *.lst file for each *.c file !

Can someone tell me is there a waty to make KEIL to generate one *.lst file for the whole project ?

Best regards,
Branislava

Parents
  • "My project has several *.c files, and when it generates listing files it makes one *.lst file for each *.c file !"

    Of course it does!

    The compiler processes 1 source file at a time; it generates a LST file and an OBJ file from that source file.

    The Assembler does the same.

    The Linker takes all the separate OBJ files and links them together - it also produces a listing file (often called a "Map" file).
    The default for BL51 is .M51; for LX51 it's .MAP

    If you don't want the individual translation listings, just turn them off!

Reply
  • "My project has several *.c files, and when it generates listing files it makes one *.lst file for each *.c file !"

    Of course it does!

    The compiler processes 1 source file at a time; it generates a LST file and an OBJ file from that source file.

    The Assembler does the same.

    The Linker takes all the separate OBJ files and links them together - it also produces a listing file (often called a "Map" file).
    The default for BL51 is .M51; for LX51 it's .MAP

    If you don't want the individual translation listings, just turn them off!

Children
More questions in this forum