Re: specifying yacc flags for single file?
Re: specifying yacc flags for single file?
- Subject: Re: specifying yacc flags for single file?
- From: Izidor Jerebic <email@hidden>
- Date: Mon, 17 May 2004 22:14:05 +0200
On 17 May 2004, at 14:15, Gerard Iglesias wrote:
I just tested the thing under 1.2, you have to select your file a .ym
or .lm and bring the inspector in front and select the 'build' pane,
you can add there flags for the compiler, it seems to work file:
I added -TOTOTOTOT and get the following in the build inspector :
....
/usr/bin/bison -d -y -TOTOTOTOT -d -b
/Users/gerard/Developer/........
......
This works with options that are unknown to Xcode. But if you specify
"-p XXX" Xcode thinks it should also include this option in
precompiling headers and this causes error:
ProcessPCH
/Volumes/HFS_Data/Users/izidor/BuildArea/App.build/SharedCaches/
App_Prefix-alnyfsqiaeaiafavgwsvucggzmev/App_Prefix.pch.gch
App_Prefix.pch normal ppc objective-c com.apple.compilers.gcc.3_3
cd
/Volumes/HFS_Data/Users/izidor/Versions/2004-05-16/Projects/App/App
/usr/bin/gcc-3.3 -x objective-c-header -arch ppc -pipe
-Wno-trigraphs -fasm-blocks -fpascal-strings -g -O0 -mtune=G4 -Werror
-Wno-four-char-constants -Wmost -Wno-four-char-constants
-Wno-unknown-pragmas -O0 -fmessage-length=0 -ffix-and-continue
-fzero-link -F/Volumes/HFS_Data/Users/izidor/BuildArea
-I/Volumes/HFS_Data/Users/izidor/BuildArea/include
-I/usr/local/include/libxml2/libxml
-I/Volumes/HFS_Data/Users/izidor/BuildArea/App.build/App.build/
DerivedSources
-Wp,-header-mapfile,/Volumes/HFS_Data/Users/izidor/BuildArea/App.build/
App.build/App.hmap -p XXX -c App_Prefix.pch -o
/Volumes/HFS_Data/Users/izidor/BuildArea/App.build/SharedCaches/
App_Prefix-alnyfsqiaeaiafavgwsvucggzmev/App_Prefix.pch.gch
gcc-3.3: cannot specify -o with -c or -S and multiple compilations
Thanks,
izidor
P.S. I am aware of lex %option and I am using it. See my previous email
to list how I solved the prefix problem for yacc/bison files...
_______________________________________________
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.