Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!sayde From: sayde@svax.cs.cornell.edu (Richard Sayde) Newsgroups: gnu.gcc Subject: getting source line numbers in assembly output file Message-ID: <30607@cornell.UUCP> Date: 1 Aug 89 00:54:02 GMT Sender: nobody@cornell.UUCP Reply-To: sayde@cs.cornell.edu (Richard Sayde) Distribution: gnu Organization: Cornell Univ. CS Dept, Ithaca NY Lines: 13 Is there a way to get source line numbers in the assembly code output file (file produced by -S option) with GCC? I am running GCC version 1.34 (I hope to get 1.35 running soon). The compiler has been set up to produce code for a RISC machine designed here at Cornell. Most of the configuration files were written by someone else - I just modified them a li I am hoping that there is a definition in tm.h to produce the correct output. Or that the line number is available to the C code of the other configuration files. thanks. Richard