Closed jowr closed 10 years ago
@jowr 'uname -m' is not ideal it forces me to detect only 64 bits and assume that everything else is 32 bits ; not bad, but not so good either ; could you test the command 'getconf LONG_BIT' and tell me if hopefully it returns 32 ? :-D
That one is spot on. In my makefiles for other projects I use the following:
UNAME := $(shell uname -s)
ARCH := $(shell getconf LONG_BIT)
This gives Darwin
or Linux
and 32
or 64
on most machines.
Perfect! I keep that one, so :-)
Pull request on Issue #16 should allow to close this issue.
Edit the script that changes the Matlab function prototypes.