Re: Invalid opton --B

2007-12-10 Thread Paul Smith
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 [EMAIL PROTECTED]  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


___
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make


Re: Invalid opton --B

2007-12-10 Thread Eli Zaretskii
 Date: Mon, 10 Dec 2007 17:07:36 -0800
 From: Anand, CJ [EMAIL PROTECTED]
 
 The command we use is
 
 make OS=nto CPULIST=x86 -B install LDFLAGS=-M
 
 The error we get is
 
 make: invalid option - B

What does make --version say?


___
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make