With the VAX C compiler, you could have the compiler generate a .lis file
which would have the source code, line numbers, and any compilation
errors/warnings from the compilation. (These would be inserted inline with
the code.) I had the students turn this code listing in. It was a very
handy way for me to verify that the program compiled without error just from
examining the hardcopy.
I've not discovered any way to have gcc generate a similar output file. Am
I overlooking something that would work?
Is there some other software tool that can be used with Linux that would
generate this type of output?
Thanks for any help.
Tony
> With the VAX C compiler, you could have the compiler generate a .lis file
> which would have the source code, line numbers, and any compilation
> errors/warnings from the compilation. (These would be inserted inline with
> the code.) I had the students turn this code listing in. It was a very
> handy way for me to verify that the program compiled without error just from
> examining the hardcopy.
Have a look at Praktomat, this will save you a LOT of work:
http://sourceforge.net/projects/praktomat/
--
Ralf Hildebrandt (Im Auftrag des Referat V a) Ralf.Hil...@charite.de
Charite Campus Mitte Tel. +49 (0)30-450 570-155
Referat V a - Kommunikationsnetze - Fax. +49 (0)30-450 570-916
AIM: ralfpostfix