This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: stringification of PREFIX etc...
- From: Ian Lance Taylor <iant at google dot com>
- To: Basile Starynkevitch <basile at starynkevitch dot net>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 26 Sep 2011 09:17:11 -0700
- Subject: Re: stringification of PREFIX etc...
- References: <20110926090753.GA28442@ours.starynkevitch.net>
Basile Starynkevitch <basile@starynkevitch.net> writes:
> My intuition is that GCC won't even build if the prefix contains such naughty characters. If it is the case, should we document that.?
It's easy enough to try it. You're right: spaces and double quotes in
--prefix don't work. Rather than document that restriction, I think we
should fix it. At least, we should definitely fix it so that spaces
work. Double quotes are far less important. It should not be difficult
to modify the configure script or the Makefile to apply proper quoting
when passing $(prefix) to $(CC).
Ian