description:
line
ifeq ($(OSTYPE),darwin)
doesn't work as expected.
$(OSTYPE) is evaluated to empty string by make.
But anyway echo $OSTYPE returns darwin13 on my system, not darwin.
conditions:
- uname -rsv
Darwin 13.3.0 Darwin Kernel Version 13.3.0: Tue Jun 3 21:27:35 PDT 2014; root:xnu-2422.110.17~1/RELEASE_X86_64
- bash --version
GNU bash, version 3.2.51(1)-release (x86_64-apple-darwin13)
- make --version
GNU Make 3.81
Can't reproduce; also echo $OSTYPE on my system returns 'darwin'.
According to the 'conditions:' below, I am running the same version of OS/X; mine is 10.9.4. What version do you have?
Also what is returned on 'gcc --version'?
Ray
On 21 Sep 2014, at 6:46 am, ifns ifns@users.sf.net wrote:
Related
Bugs: #8
Can't get the problem here.
Only differences are:
I am using gcc (GCC) 4.9.0 20130929 (experimental) which should make no difference.
I use csh not bash. Tried exec bash and it still worked OK.
I would look for something destroying that variable on your system.
Ray
On 21 Sep 2014, at 8:10 am, ifns ifns@users.sf.net wrote:
Related
Bugs: #8
AFAIU OSTYPE variable is not passed to the shell subprocess if it's not set explicitly with export command.
I would replace $(OSTYPE) with smth like $(uname -s) in Makefile.
OS/X with command line tools sets OSTYPE (just tested on 3 differing MACs).
I would you find what is unsetting it on yours.
On 21 Sep 2014, at 4:27 pm, ifns ifns@users.sf.net wrote:
Related
Bugs: #8