bug-make
[Top][All Lists]
Advanced

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

Re: Invalid opton --B


From: Paul Smith
Subject: Re: Invalid opton --B
Date: Mon, 10 Dec 2007 23:07:30 -0500

On Mon, 2007-12-10 at 17:07 -0800, Anand, CJ wrote:
> make OS=nto CPULIST=x86 -B install LDFLAGS=-M

You have to quote the argument so make treats the entire CPULIST as one
argument:

        make OS=nto CPULIST='x86 -B install' LDFLAGS=-M

This is really more of a shell syntax question than a make question:
whenever you want to pass an argument to a program that contains
whitespace or other characters special to the shell, you have to quote
them so the shell doesn't mess with them.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.us
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist




reply via email to

[Prev in Thread] Current Thread [Next in Thread]