This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Please help me passing a path to preprocessor
- From: lrtaylor at micron dot com
- To: <jp dot guillemin at free dot fr>
- Cc: <gcc-help at gcc dot gnu dot org>
- Date: Tue, 25 Nov 2003 09:54:38 -0700
- Subject: RE: Please help me passing a path to preprocessor
That works so long as you don't have any spaces or characters that the
shell will try and interpret in the string. It's cleaner and safer just
to put the single quotes around the string. That way you don't have to
worry about what characters are in your string, and you can live a happy
and fulfilling life. :-)
Cheers,
Lyle
-----Original Message-----
From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] On
Behalf Of jp.guillemin@free.fr
Hi Eljay, Mihnea,
Thank you for the solution,
For information I've found another one :
-DMYPATH=\"/usr/local/thepath\"
then the shell doesn't parse the " anymore
Regards
JP