> ../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.

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to