Re: Groups, shell scripts, yacc
Re: Groups, shell scripts, yacc
- Subject: Re: Groups, shell scripts, yacc
- From: Glen Low <email@hidden>
- Date: Mon, 24 Nov 2003 00:49:52 +0800
This means that any custom rules cannot create files used by other
sources e.g. a header file.
If you mean use of the header generated by bison/yacc, I made the
simple tricks to make a static lib target to be used by the main
target, and get the parser file generated before anything.
Do the build rule using Yacc source as you suggested, make sure the
yacc file is first in Sources, then build. This should correctly build
the yacc file first, then the other files in your Sources.
Now, change the build rule to Source files with names matching, ?*\.y
which is functionally the same as Yacc source. On my machine (Xcode
1.0.1) it now incorrectly builds the yacc file last -- which should be
a bug. Is this so on your machine?
PS: Can yoy send me the sh generated by the normal yacc rules, because
I would want to remember you I resolved this problem (now I use the
last Xcode update, NDA..) But I will install the original Xcode 1.0 on
an other partition to make some test.
_
Haven't tried going back to native yacc builds yet, since the build
rule works well. Except for files which don't have standard extensions.
When I delete a build rule I usually get a crash, so I'll have to put
some time together to try again.
Cheers, Glen Low
---
pixelglow software | simply brilliant stuff
www.pixelglow.com
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.