building CALL_EXPR's with string constants
Mike Stump
mrs@windriver.com
Thu Jun 8 14:01:00 GMT 2000
I generally do this by writting the code in C, running emacs, and then
gdb in emacs, and then cc1 in gdb, and watch to see what cc1 does with
the code. Then I copy it. It'll show you the routines to call, how
to call them, what you need to check for, and so on... If you just
ask it. It usually gives pretty good advice.
> From: Michael Nelson <mikenel@iapetus.com>
> To: "'gcc@gcc.gnu.org'" <gcc@gcc.gnu.org>
> Date: Thu, 8 Jun 2000 15:26:05 -0400
> some difficulty figuring out how to call printf with a string
> constant.
More information about the Gcc
mailing list