• 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: Derived sources from Flex and Bison
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Derived sources from Flex and Bison


  • Subject: Re: Derived sources from Flex and Bison
  • From: F van der Meeren <email@hidden>
  • Date: Wed, 7 Jul 2010 22:13:17 +0200

Just add a "Þfines MyPath/something.h" before the first %%
And bison will put the header in your path.

Filip

On 07 Jul 2010, at 21:07, McLaughlin, Michael P. wrote:

> With Xcode 3.1.4 (Leopard), I have a test Cocoa app containing, inter alia,
> a Flex (.l) file and a Bison (.y) file.  It gets a string (expression) from
> an NSTextField, parses and evaluates it.
>
> The project compiles with one glitch.  A derived header, y.tab.h, is created
> in the DerivedSources folder deep within the Build folder yet it is a
> required header in other source files.
>
> If I leave y.tab.h where it is built, the project does not find it to use as
> a normal header.  I have to partially build the project then manually copy
> y.tab.h to the project level and then add it manually to the project from
> there.  Once that is done, everything builds correctly and the program runs
> without error.
>
> It seems to me that I must be doing something wrong.  If the project knows
> enough to create y.tab.h, shouldn't if also know when it is a project header
> without my having to copy it?  It has no trouble finding the C sources
> created by Flex and Bison (e.g., y.tab.c) and they are in the same
> DerivedSources folder.
>
> Am I missing something?
>
> TIA.
>
> --
> Mike McLaughlin
>
> _______________________________________________
> 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


 _______________________________________________
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: Derived sources from Flex and Bison
      • From: "McLaughlin, Michael P." <email@hidden>
References: 
 >Derived sources from Flex and Bison (From: "McLaughlin, Michael P." <email@hidden>)

  • Prev by Date: Derived sources from Flex and Bison
  • Next by Date: Re: Derived sources from Flex and Bison
  • Previous by thread: Derived sources from Flex and Bison
  • Next by thread: Re: Derived sources from Flex and Bison
  • Index(es):
    • Date
    • Thread