[futurebasic] Re: [FB] Future Version of FBtoC

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2008 : Group Archive : Group : All Groups

From: Robert Purves <listrp@...>
Date: Sun, 20 Jan 2008 23:10:31 +1300
Bernie wrote:

> Prediction:
> A future version of FBtoC will eliminate the need for FB headers. On  
> translation, function syntax will be checked against Apple's headers  
> and required Apple headers auto-included.

An agreeable beer-induced fantasy. But we have good beer in New  
Zealand, too.
In Terminal.app, paste the following command:
cd Desktop;echo "#include <Carbon/Carbon.h>" > test.h;gcc test.h -E -P  
 > CarbonAPI.txt

After pressing return you should see on your Desktop a text file that  
makes interesting, but arduous, reading.

Bernie will figure out how to transfer the relevant parts of  
CarbonAPI.txt to FBtoC's symbol table.

Robert P.