RE: Please help me passing a path to preprocessor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx [mailto:gcc-help-owner@xxxxxxxxxxx] On
Behalf Of jp.guillemin@xxxxxxx

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




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux