This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

a treelang question about printf.


Hi,
 
I try to implement a litter front end with the gcc. But I am confused, about
the printf().
How to implement the code?
 
test()
{
    write("Hello World!!\n");   -- I want to call printf.
}
 
I had found the informations such as BUILT_IN_PRINTF, expand_builtin_fprintf
etc...
But I still don't known how to implement it.
 
I'm novice. I'm sorry if it is a stupid question.
 
Best regards,
        Der-Johng Sun
-----
derjohng2@yahoo.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]