General search for symbols...
Hans-Peter Nilsson
hp@bitrange.com
Wed Apr 2 16:22:00 GMT 2003
On 2 Apr 2003, Stephen Biggs wrote:
> I am trying to port GCC to another machine.
>
> Given that I have a file <new gcc
> path>/gcc/config/<machine>/<machine>.c, how would I, within any of the
> functions in that file find out if a certain symbol has been defined by
> a "#define" statement in the C source that is being compiled?
That's an odd need for a new port. Care to elaborate; example?
(It might turn out to be a misunderstanding or a need covered
by an existing mechanism, that's mainly why I ask.)
brgds, H-P
More information about the Gcc
mailing list