From 294e629600f85af2d07c1815f24389468549c3e4 Mon Sep 17 00:00:00 2001 From: Alexander Harkness Date: Sat, 21 Dec 2013 14:14:30 +0000 Subject: Update COMPILING --- COMPILING | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'COMPILING') diff --git a/COMPILING b/COMPILING index 708e4413e..5a9f9b6c2 100644 --- a/COMPILING +++ b/COMPILING @@ -1,8 +1,18 @@ COMPILING ========= -To compile MCServer on *nix, you need a GNUmake-compatible make that reads GNUmakefile. -Run "make" to build a debug version (slow, but gives more info on crash) -Run "make release=1" to build a release version (fast, less info on crash) -Add addm32=1 to compile in 32-bit mode on 64-bit systems. -Add `-j 4` to use 4 threads and speed up compilation on multi-core devices. +To compile MCServer on *nix, you need CMake and make, as well as a C compiler, C++ compiler and linker. + +Release Mode +------------ + +Release mode is preferred for almost all cases, it has much better speed and less console spam. However, if you are developing MCServer actively, debug mode might be better. + + cmake . && make + +Debug Mode +---------- + +Debug mode is useful if you want more debugging information about MCServer as it's running or if you want to use a debugger like GDB to debug issues and crashes. + + cmake . -DCMAKE_BUILD_TYPE=DEBUG && make -- cgit v1.2.3 From 553633dc721e3e42336a32bcd0cd446756cec7f8 Mon Sep 17 00:00:00 2001 From: Alexander Harkness Date: Sat, 21 Dec 2013 14:38:37 +0000 Subject: Added info about 32 bit mode. --- COMPILING | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'COMPILING') diff --git a/COMPILING b/COMPILING index 5a9f9b6c2..3ae79c830 100644 --- a/COMPILING +++ b/COMPILING @@ -16,3 +16,12 @@ Debug Mode Debug mode is useful if you want more debugging information about MCServer as it's running or if you want to use a debugger like GDB to debug issues and crashes. cmake . -DCMAKE_BUILD_TYPE=DEBUG && make + +32 Bit Mode +----------- + +This is useful if you want to compile MCServer to use on another 32-bit machine. It can be used with debug or release mode. To use 32 bit mode, simply add: + + -DFORCE-32=1 + +to your cmake command and 32 bit will be forced. -- cgit v1.2.3 From d8b4bf8a7027026ff4d347d94defa73aa0a9020f Mon Sep 17 00:00:00 2001 From: worktycho Date: Sat, 21 Dec 2013 16:00:47 +0000 Subject: Update COMPILING fixed acouple of issues --- COMPILING | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'COMPILING') diff --git a/COMPILING b/COMPILING index 3ae79c830..e10acee98 100644 --- a/COMPILING +++ b/COMPILING @@ -8,7 +8,7 @@ Release Mode Release mode is preferred for almost all cases, it has much better speed and less console spam. However, if you are developing MCServer actively, debug mode might be better. - cmake . && make + cmake . -DCMAKE_BUILD_TYPE=RELEASE && make Debug Mode ---------- @@ -22,6 +22,6 @@ Debug mode is useful if you want more debugging information about MCServer as it This is useful if you want to compile MCServer to use on another 32-bit machine. It can be used with debug or release mode. To use 32 bit mode, simply add: - -DFORCE-32=1 + -DFORCE_32=1 to your cmake command and 32 bit will be forced. -- cgit v1.2.3 From 0d14229ffda2cf8e41ec0afc28bc82d4830c8b44 Mon Sep 17 00:00:00 2001 From: Alexander Harkness Date: Sat, 21 Dec 2013 16:23:15 +0000 Subject: Fixed a file name. --- COMPILING | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 COMPILING (limited to 'COMPILING') diff --git a/COMPILING b/COMPILING deleted file mode 100644 index e10acee98..000000000 --- a/COMPILING +++ /dev/null @@ -1,27 +0,0 @@ -COMPILING -========= - -To compile MCServer on *nix, you need CMake and make, as well as a C compiler, C++ compiler and linker. - -Release Mode ------------- - -Release mode is preferred for almost all cases, it has much better speed and less console spam. However, if you are developing MCServer actively, debug mode might be better. - - cmake . -DCMAKE_BUILD_TYPE=RELEASE && make - -Debug Mode ----------- - -Debug mode is useful if you want more debugging information about MCServer as it's running or if you want to use a debugger like GDB to debug issues and crashes. - - cmake . -DCMAKE_BUILD_TYPE=DEBUG && make - -32 Bit Mode ------------ - -This is useful if you want to compile MCServer to use on another 32-bit machine. It can be used with debug or release mode. To use 32 bit mode, simply add: - - -DFORCE_32=1 - -to your cmake command and 32 bit will be forced. -- cgit v1.2.3