[futurebasic] Re: [FB] FBtoC Project and Xcode Project

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

From: Brian Stevens <bstevens33@...>
Date: Sun, 15 Jun 2008 10:25:19 -0700
On Jun 14, 2008, at 2:06 PM, Rich Love wrote:

> I thought it might be fun to use the build temp folder from a FBtoC  
> project and create a new XCode project from it.
(1) There is no direct relationship of what FBtoC does to Xcode, so  
essentially you would need to learn how to use source code with Xcode.  
There are lots of books that describe this.

>
> I dragged all of the temp build files into the XCode project and it  
> has lots of errors saying that variables are undeclared
Yes, see point #1.

>
> Am I trying to do something that can't be done?
It is possible, but FBtoC does not provide any automatic mechanism to  
implement your goal via the source code in build_temp. See point #1.

>
> If it can be done, does anyone have some guidelines for making it  
> work?
The only guideline is to learn Xcode. See point #1.
>
> I am a total novice with XCode projects and have never built an app  
> that way.

I have only used it for trivial things and not a full project.

With the exception of the debugger ( gdb ), FBtoC does NOT use Xcode.  
It calls the compiler directly ( gcc ).

  It is possible to eliminate the use of FB source code and just  
compile with the C code in build_temp. It is fairly simple to do and  
I'd be happy to re-post the steps Robert posted. However, it is not  
related to Xcode and assumes you want to program in C. The debugger  
mechanism in FBtoC creates a basic Xcode project only for the purpose  
of debugging and nothing more.


Brian S.