summaryrefslogtreecommitdiffstats
path: root/COMPILING.md
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-01-16 19:37:46 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-01-16 19:37:46 +0100
commit3373daca2675617117ac60abb7dd3f6511916d2c (patch)
tree6339eb1d6f6682869dd96e46e392b43dfbe6209c /COMPILING.md
parentOBSOLETE'd obsolete functions (diff)
parentMerge pull request #548 from worktycho/documention (diff)
downloadcuberite-3373daca2675617117ac60abb7dd3f6511916d2c.tar
cuberite-3373daca2675617117ac60abb7dd3f6511916d2c.tar.gz
cuberite-3373daca2675617117ac60abb7dd3f6511916d2c.tar.bz2
cuberite-3373daca2675617117ac60abb7dd3f6511916d2c.tar.lz
cuberite-3373daca2675617117ac60abb7dd3f6511916d2c.tar.xz
cuberite-3373daca2675617117ac60abb7dd3f6511916d2c.tar.zst
cuberite-3373daca2675617117ac60abb7dd3f6511916d2c.zip
Diffstat (limited to 'COMPILING.md')
-rw-r--r--COMPILING.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/COMPILING.md b/COMPILING.md
index 6438a2839..31222a5d8 100644
--- a/COMPILING.md
+++ b/COMPILING.md
@@ -80,3 +80,12 @@ This is useful if you want to compile MCServer to use on another 32-bit machine.
-DFORCE_32=1
to your cmake command and 32 bit will be forced.
+
+Compiling for another computer
+------------------------------
+
+When compiling for another computer it is important to set cross compiling mode. This tells the compiler not to optimise for your machine. It can be used with debug or release mode. To enable simply add:
+
+ -DCROSSCOMPILE=1
+
+to your cmake command.