This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
frontend
- From: Michal Nowikowski <godfryd at zamek dot gda dot pl>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 7 Jan 2003 10:45:41 +0100
- Subject: frontend
- Reply-to: godfryd at zamek dot gda dot pl
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