Cross gcc Mailing List Archive

[Prev][Next][Index][Thread]

Re: ident problems using gnu tools



Well, the gas .comment directive seems to be the answaer, but you
complained earlier about #ident not being ansi C, so you will have to
make is a #pragma of some kind.  For compiler invocation command
strings, this becomes even less protable, because different compilers
use different invocations.

If you just wanted to totally hack it in, you could write your own
driver to invoce the different passes of the Gnu compiler, and use an
awk script, or even a Bourne shell "echo" comand, to stick the
compiler invocation command wrapped up as a gas coment as the first
line of input to gas of a compiler output file.  Of course, this
wopuld noy port to anything but the gas assembler...

-- 
--------  "And there came a writing to him from Elijah"  [2Ch 21:12]  --------
Robert Jay Brown III  rj@eli.wariat.org  http://eli.wariat.org  1 847 705-0424
Elijah Laboratories Inc.;  37 South Greenwood Avenue;  Palatine, IL 60067-6328
-----  M o d e l i n g   t h e   M e t h o d s   o f   t h e   M i n d  ------

References:

Home | Subject Index | Thread Index