Synchronet v3.19b-Win32 (install) has been released (Jan-2022).

You can donate to the Synchronet project using PayPal.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
install:nix:options [2012/10/15 14:43] – [Options] Flesh it out... ordering leaves much to be desired. deuceinstall:nix:options [2015/02/06 16:02] – [Other Options] Note that DONT_CLOBBER_CC has been removed deuce
Line 1: Line 1:
 ====== Options ====== ====== Options ======
-The Synchronet builds system supports a vast array of build options most of which are only slightly supported.  This pages attempts to document them for advanced users.+The Synchronet builds system supports a vast array of build options most of which are only slightly supported.  This page attempts to document them for advanced users.
  
-  * ''SRC_ROOT'' +===== Supported Options =====
-    * Overrides the path to the src directory.  Normally set in the makefile. +
-  * ''3RDP_ROOT'' +
-    * Overrides the path to the 3rdp directory.  Normally set in the makefile.+
   * ''DEBUG''   * ''DEBUG''
     * If defined, or if ''RELEASE'' is not defined, does a debug build.     * If defined, or if ''RELEASE'' is not defined, does a debug build.
   * ''RELEASE''   * ''RELEASE''
     * If defined, does a release build (no debug information).     * If defined, does a release build (no debug information).
 +
 +===== SpiderMonkey Options =====
 +  * ''JS_CFLAGS''
 +    * Extra CFLAGS for compiling against JS
 +  * ''JS_LDFLAGS''
 +    * Extra LDFLAGS for linking agsint JS
 +  * ''JSINCLUDE''
 +    * Path to JS headers
 +  * ''JSLIBDIR''
 +    * Path to JS library.
 +  * ''JSLIB''
 +    * Library name for SpiderMonkey.
 +  * ''EXTRA_JS_CONFIGURE_ARGS''
 +    * Pass these arguments IN ADDITION TO THE BUILDIN ONES to the ''configure'' command when building the included SpiderMonkey.
 +    * Adding ''--disable-tracejit'' with this option will get you far, when using OpenBSD
 +  * ''JS_CONFIGURE_ARGS''
 +    * Pass to the ''configure'' command when building the included SpiderMonkey.
 +
 +===== Cryptlib Options =====
 +  * ''CRYPTLIBINCLUDE''
 +    * Path to Cryptlib header files
 +  * ''CRYPTLIBDIR''
 +    * Path to Cyrptlib library
 +  * ''CRYPT_LIBS''
 +    * Library link specifier (ie: -lcl or /path/to/libcl.a)
 +
 +===== SDL Options =====
 +  * ''USE_SDL_AUDIO''
 +    * Use SDL for audio only, not graphics.
 +  * ''WITHOUT_SDL''
 +    * Do not attempt to use the SDL library for anything.
 +  * ''SDL_CONFIG''
 +    * Command-line for the sdl-config utility
 +
 +===== nspr4 options =====
 +  * ''NSPRDIR''
 +    * Path to the nspr4 library
 +  * ''NSPRINCLUDE''
 +    * Path to the nspr4 header files
 +  * ''NSPR_CFLAGS''
 +    * Extra CFLAGS for compiling against nspr4
 +  * ''NSPR_LDFLAGS''
 +    * Extra linker flags for linking against nspr4
 +
 +===== Other Options =====
 +  * ''SRC_ROOT''
 +    * Overrides the path to the src directory.  Normally set in the makefile.
 +  * ''3RDP_ROOT''
 +    * Overrides the path to the 3rdp directory.  Normally set in the makefile.
   * ''PROFILE''   * ''PROFILE''
     * Generates binaries that create gprof detail files (GCC/DEBUG only)     * Generates binaries that create gprof detail files (GCC/DEBUG only)
Line 18: Line 64:
   * ''GCOV''   * ''GCOV''
     * Generates binaries that produce gcov data     * Generates binaries that produce gcov data
-  * ''DONT_CLOBBER_CC'' +  * ''DONT_CLOBBER_CC'' (Removed Fri Feb 6 23:58:56 2015 UTC - gcc no longer forced) 
-    * By default, the build system will force CC to be ''gcc'' To use a different compiler, you will need to set bith CC *and* this option. +    * By default, the build system will force CC to be ''gcc'' To use a different compiler, you will need to set both CC *and* this option. 
-  * OBJPATH_SUFFIX+  * ''OBJPATH_SUFFIX''
     * Adds the specified string to the object path.     * Adds the specified string to the object path.
   * ''STATIC''   * ''STATIC''
Line 30: Line 76:
   * ''WITHOUT_PORTAUDIO''   * ''WITHOUT_PORTAUDIO''
     * Do not attempt to support portaudio.     * Do not attempt to support portaudio.
-  * ''NSPRDIR'' 
-    * Path to the nspr4 library 
-  * ''NSPRINCLUDE'' 
-    * Path to the nspr4 header files 
-  * ''NSPR_CFLAGS'' 
-    * Extra CFLAGS for compiling against nspr4 
-  * ''NSPR_LDFLAGS'' 
-    * Extra linker flags for linking against nspr4 
-  * ''JS_CFLAGS'' 
-    * Extra CFLAGS for compiling against JS 
-  * ''JS_LDFLAGS'' 
-    * Extra LDFLAGS for linking agsint nspr4 
-  * ''JSINCLUDE'' 
-    * Path to JS headers 
-  * ''JSLIBDIR'' 
-    * Path to JS library. 
-  * ''JSLIB'' 
-    * Library name for SpiderMonkey. 
-  * ''CRYPTLIBINCLUDE'' 
-    * Path to Cryptlib header files 
-  * ''CRYPTLIBDIR'' 
-    * Path to Cyrptlib library 
-  * ''CRYPT_LIBS'' 
-    * Library link specifier (ie: -lcl or /path/to/libcl.a) 
-  * ''JS_CONFIGURE_ARGS'' 
-    * Pass to the ''configure'' command when building the included SpiderMonkey. 
   * ''USE_DOSEMU''   * ''USE_DOSEMU''
     * Add "support" for DOSEMU (unsupported).     * Add "support" for DOSEMU (unsupported).
   * ''DONT_BLAME_SYNCHRONET''   * ''DONT_BLAME_SYNCHRONET''
     * Reduces the importance of security to allow rebinding of ports.  Please don't use this.     * Reduces the importance of security to allow rebinding of ports.  Please don't use this.
-  * ''USE_SDL_AUDIO'' 
-    * Use SDL for audio only, not graphics. 
-  * ''WITHOUT_SDL'' 
-    * Do not attempt to use the SDL library for anything. 
  
 ===== See Also ===== ===== See Also =====
   * [[:install:nix:|install:nix index]]   * [[:install:nix:|install:nix index]]