This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Can I build gcc so -Wall option is always on ?


* Joel Dice wrote on Sun, Jan 10, 2010 at 05:24:33AM CET:
> On Sat, 9 Jan 2010, Joel Dice wrote:
> >
> >Try replacing the "$@" in your script with ${1+"$@"}.  That should
> >ensure "-DPACKAGE_STRING=\"sqlite 3.6.19\"" appears as a single
> >argument to gcc.real.

No, ${1+"$@"} only exists to work around a bug in older shells that,
when no arguments at all were given, wrongly expanded to a single empty
argument, instead of zero arguments.  That's not relevant here.

David, post your wrapper script, you have a quoting error elsewhere in
it.

Maybe this discussion better belongs on another list; I'm not sure
where, though.

Cheers,
Ralf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]