This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Translating gcc (C)
- From: "John (Eljay) Love-Jensen" <eljay at adobe dot com>
- To: "rosa_dos_ventos at iol dot pt" <rosa_dos_ventos at iol dot pt>, "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Wed, 1 Apr 2009 05:07:44 -0700
- Subject: RE: Translating gcc (C)
- References: <20090401122706.7eg23z2dc40sgw4w@webmail.iol.pt>
Hi Jose,
You could do something like this:
----Portuguese.h------------------------
#define para for
#define inteiro int
#define qual which
#define dobro double
#define curto short
//...et cetera
----------------------------------------
Then include that header for your Portuguese C source.
Disclaimer, I do not know Portuguese, so the above example is completely bogus.
Sincerely,
--Eljay