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]

frontend


Hello

I'm writing a frontend for some small language. I've got few problems.
First: how to build a function with 'char *' parameter - in examples (toy,
spl, flim, treelang languages) I have analysed there are only simple
function with integers as arguments.
Second: how to build a call to function from library e.g. printf. I'd like
to add to generated code some calls to functions defined in some library.
Example in my language, there is instruction:
 print "blah";
so how to call print function from stdio.h.

Best regards
Godfryd


-- 
|  Michal Nowikowski <godfryd@zamek.gda.pl>
|  BOFH excuse #47: Complete Transient Lockout


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