|
From: | Sergey Korshunoff |
Subject: | Re: [Tinycc-devel] modern c++ compiler written in C |
Date: | Fri, 23 Oct 2015 02:19:37 +0300 |
> ../cfront +L +fhello.C < hello.i > hello..c +a1 solved a problem ../cfront +a1 +L +fhello.C < hello.i > hello..c #line 2 "hello.C" extern void *malloc2 (unsigned int ); // <<<<< int main (void ){ _main(); #line 4 "hello.C" { #line 5 "hello.C" void *__1p ; t #line 5 "hello.C" __1p = malloc2 ( (unsigned int )10 ) ; } } PS: thanks for the question! PPS: Do you know a right way to generate include files? Currently I use a mix of the cfront-1 and plan9 port include files. A glibc and gcc extensions in the system include files is the problem.
[Prev in Thread] | Current Thread | [Next in Thread] |