Re: gcc question (off topic)
On Sun, Oct 29, 2000 at 10:17:36AM -0500, Jerry Kelley wrote: > Can gcc generate ASM output with the source lines from the C file > interspersed as comments? Not directly. However, gas will happily generate assembler listings containing the C source. See "-alh". r~ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: gcc question (off topic)
On Sun, Oct 29, 2000 at 10:17:36AM -0500, Jerry Kelley wrote: Can gcc generate ASM output with the source lines from the C file interspersed as comments? Not directly. However, gas will happily generate assembler listings containing the C source. See "-alh". r~ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: gcc question (off topic)
> Can gcc generate ASM output with the source lines from the C file > interspersed as comments? Not afak directly. The makelst stuff in 2.2.18pre IBM contributed claims to do the job though - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: gcc question (off topic)
On Sun, Oct 29, 2000 at 10:17:36AM -0500, Jerry Kelley wrote: > Can gcc generate ASM output with the source lines from the C file > interspersed as comments? Yes, "gcc -S". Look in the gcc info pages for more information (the man page in known to be outdated). If that isn't what you want, try "objdump -D -S" on the generated object file. You have to use the "-g" flag for gcc to let this trick work. Erik -- J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department of Electrical Engineering, Faculty of Information Technology and Systems, Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands Phone: +31-15-2783635 Fax: +31-15-2781843 Email: [EMAIL PROTECTED] WWW: http://www-ict.its.tudelft.nl/~erik/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
gcc question (off topic)
Can gcc generate ASM output with the source lines from the C file interspersed as comments? Thanks. Jerry Kelley [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
gcc question (off topic)
Can gcc generate ASM output with the source lines from the C file interspersed as comments? Thanks. Jerry Kelley [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: gcc question (off topic)
On Sun, Oct 29, 2000 at 10:17:36AM -0500, Jerry Kelley wrote: Can gcc generate ASM output with the source lines from the C file interspersed as comments? Yes, "gcc -S". Look in the gcc info pages for more information (the man page in known to be outdated). If that isn't what you want, try "objdump -D -S" on the generated object file. You have to use the "-g" flag for gcc to let this trick work. Erik -- J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department of Electrical Engineering, Faculty of Information Technology and Systems, Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands Phone: +31-15-2783635 Fax: +31-15-2781843 Email: [EMAIL PROTECTED] WWW: http://www-ict.its.tudelft.nl/~erik/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: gcc question (off topic)
Can gcc generate ASM output with the source lines from the C file interspersed as comments? Not afak directly. The makelst stuff in 2.2.18pre IBM contributed claims to do the job though - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/