SNNS 4.2 Mac OS X 10.5 installation
$./configure --host=i386
Add the following defines:
#ifndef MAXCHAR #define MAXCHAR ((char)0x7f) #endif #ifndef MAXSHORT #define MAXSHORT ((short)0x7fff) #endif #ifndef MAXINT #define MAXINT ((int)0x7fffffff) #endif #ifndef MAXLONG #define MAXLONG ((long)0x7fffffff) #endif #ifndef MINCHAR #define MINCHAR ((char)0x80) #endif #ifndef MINSHORT #define MINSHORT ((short)0x8000) #endif #ifndef MININT #define MININT ((int)0x80000000) #endif #ifndef MINLONG #define MINLONG ((long)0x80000000) #endif
to the files:
- kernel/sources/kr_mem.c
- kernel/sources/learn_f.c
Then you can type:
$make compile
$sudo make install
You can start the GUI for the X-Window system in SNNS4.2/xgui/bin/xgui:
