How do I set OTHER_CFLAGS to -DCONFIGDIR=\"/gnome_wave_cleaner/config/\"?
How do I set OTHER_CFLAGS to -DCONFIGDIR=\"/gnome_wave_cleaner/config/\"?
- Subject: How do I set OTHER_CFLAGS to -DCONFIGDIR=\"/gnome_wave_cleaner/config/\"?
- From: Rob Frohne <email@hidden>
- Date: Sat, 13 Nov 2004 22:00:22 -0800
Hi,
I'm having a problem with quotes ".
It seems Xcode likes to put " around each of the OTHER_CFLAGS defines. I can't seem to get it to keep my \". I'm not a shell script or Xcode expert. I want to set the OTHER_CFLAGS to include things like:
-DCONFIGDIR=\"/gnome_wave_cleaner/config/\"
and Xcode translates them to:
<x-tad-smaller>"-DCONFIGDIR=""/gnome_wave_cleaner/config/"
</x-tad-smaller>
and Xcode translates other defines like this:
<x-tad-smaller>"-DFFTWPREC=2"
</x-tad-smaller>and this is making it difficult to compile my code.
Here is the complete compile statement, and it has a couple of these type of problems in it.
<x-tad-smaller>CompileC /Users/frohro/Documents/gwc-0.20-07/build/gwc-0.20-07.build/gwc.build/Objects-normal/ppc/gwc.o
/usr/bin/gcc-3.3 -c -F/Users/frohro/Documents/gwc-0.20-07/build -I/Users/frohro/Documents/gwc-0.20-07/build/include -I. -arch ppc -fno-common -fpascal-strings -O0 -Wall -pipe "-fmessage-length=0" -mdynamic-no-pic -g -Wp,-header-mapfile,/Users/frohro/Documents/gwc-0.20-07/build/gwc-0.20-07.build/gwc.build/gwc.hmap "-DCONFIGDIR=""/gnome_wave_cleaner/config/" "-DDATADIR="/usr/share"" "-DLIBDIR="/sw/lib:/usr/local/lib"" "-DAPPNAME=gnome_wave_cleaner" "-Wall" "-DHAVE_FFTW3" "-DFFTWPREC=2" "-DORBIT2=1" "-I/sw/include/libgnome-2.0" "-I/sw/include/glib-2.0" "-I/sw/lib/glib-2.0/include" "-I/sw/include/orbit-2.0" "-I/sw/include/libbonobo-2.0" "-I/sw/include/gconf/2" "-I/sw/include/gnome-vfs-2.0" "-I/sw/lib/gnome-vfs-2.0/include" "-I/sw/include/bonobo-activation-2.0" "-I/sw/include/libgnomeui-2.0" "-I/sw/include/libgnomecanvas-2.0" "-I/sw/include/gtk-2.0" "-I/sw/include/libart-2.0" "-I/sw/include/libbonoboui-2.0" "-I/sw/include/pango-1.0" "-I/usr/X11R6/include" "-I/usr/X11R6/include/freetype2" "-I/sw/lib/gtk-2.0/include" "-I/sw/include/atk-1.0" "-I/sw/include/libxml2" "-I/sw/include" "-I/usr/local/include" ./gwc.c -o /Users/frohro/Documents/gwc-0.20-07/build/gwc-0.20-07.build/gwc.build/Objects-normal/ppc/gwc.o </x-tad-smaller>
Can any one help me out?
Thanks,
Rob
<x-tad-smaller>
</x-tad-smaller>
--
Rob Frohne, Ph.D., P.E.
E.F. Cross School of Engineering
Walla Walla College
http://www.wwc.edu/~frohro/
_______________________________________________
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