• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Build phase query--SOLVED
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Build phase query--SOLVED


  • Subject: Re: Build phase query--SOLVED
  • From: Michael McLaughlin <email@hidden>
  • Date: Mon, 01 Sep 2014 12:41:50 -0400

This was my mistake.  I did the steps below because adding the tab.c file to the target, for the sake of breakpoints, gave a duplicate-symbols linker error.

I had not realized that breakpoints could be set in a project file even though it was not a target file.  Of course, this still requires a one-time preliminary compilation of the .y file in order to create a tab.c file so that the latter can be added to the project (even if it is subsequently modified).

>
> Message: 1
> Date: Sun, 31 Aug 2014 11:37:03 -0400
> From: Michael McLaughlin <email@hidden>
> To: email@hidden
> Subject: Build phase query
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset=windows-1252
>
> In my Xcode 5.1.1 Mac OS app, I am using Bison with a lot of manual fussing about.  To build from scratch, I must
>
> 1. Put my .y file in the project by itself (contains no main()).
> 2. Build —> tab.h and tab.c output intermediates
> 3. Remove the .y file from the project (to avoid duplicate symbols)
> 4. Add everything else to the project
> 5. Build again
>
> This all works but I was wondering whether some sequence of custom build phases might be able to simplify it.  I could not find any examples similar to this.
>
> FWIW, I have a custom build rule for my .y file so that I can use Bison 3.0.2 instead of the default.
>
> Thanks for any tips.
>
> --
> Michael McLaughlin
> email@hidden

--
Michael McLaughlin
email@hidden






 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Build phase query--SOLVED
      • From: Roland King <email@hidden>
  • Next by Date: Re: Build phase query--SOLVED
  • Next by thread: Re: Build phase query--SOLVED
  • Index(es):
    • Date
    • Thread