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 ?


On 01/10/2010 07:25 AM, Ralf Wildenhues wrote:
> * 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.

I'd like it to stay here.  This one gets asked enough that I want
to see a fix for it.  It could be something weird on Solaris, but I
would like to know.

David, simply doing "set -x" in your wrapper script would help.

Andrew.


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