I'm looking into putting this latest version of nan-2.4.4 onto FreeBSD. I had to make some changes.
In particular, I had to make changes to the Makefile. This has the line: all: octave win32 win64 mex4m Of these, only octave builds properly. I am guessing that win32 and win64 are merely cross compilation targets, and I feel perfectly free to remove those. But what does mex4m build? Can I remove that build as well? Thanks, Stephen P.S. The only other changes needed were to xptopen.cpp, which were to make sure that __BIG_ENDIAN etc were defined. I added lines like these close to the beginning. #include <sys/param.h> #if (defined(BSD) && (BSD >= 199103)) #include <machine/endian.h> #define __BIG_ENDIAN _BIG_ENDIAN #define __LITTLE_ENDIAN _LITTLE_ENDIAN #define __BYTE_ORDER _BYTE_ORDER #endif ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev