Getting # Physical CPUs

Jesse Phillips jessekphillips+D at gmail.com
Thu Jul 15 14:56:11 PDT 2010


Walter Bright Wrote:

> > 
> > $ make -flinux.mak
> > make --no-print-directory -f  OS=posix BUILD=release
> > make[1]: OS=posix: No such file or directory
> > make[1]: *** No rule to make target `OS=posix'.  Stop.
> > make: *** [release] Error 2
> 
> The "OS=posix" sets the macro OS to the value posix, it does not set the target. 
> This has been a feature of make since at least the 1980's, earlier than Linux 
> even existed. So I'm astonished you're seeing this error.

Looks to me like a macro isn't being set. In the first output line it has the argument '-f  ' there are two spaces after requesting to look in a file. So the file name it sees is OS=posix


More information about the Digitalmars-d mailing list