]> sigrok.org Git - sigrok-util.git/blobdiff - cross-compile/linux/README
sigrok-cross-linux: Add file for simple Linux (cross-)compiles.
[sigrok-util.git] / cross-compile / linux / README
diff --git a/cross-compile/linux/README b/cross-compile/linux/README
new file mode 100644 (file)
index 0000000..5f622b9
--- /dev/null
@@ -0,0 +1,42 @@
+-------------------------------------------------------------------------------
+README
+-------------------------------------------------------------------------------
+
+This is a small script for cross-compiling sigrok and its dependencies
+for Linux systems (various architectures / cross-toolchains).
+
+It can also be used for native builds (this is actually the default) when
+no cross-compiler setup is specified (see the top of the script).
+
+
+Status
+------
+
+Working.
+
+
+Requirements
+------------
+
+ - bash
+ - gcc
+ - make
+ - cmake
+ - git
+ - wget
+ - unzip
+ - pkg-config (>= 0.22)
+ - sdcc (needed for building the fx2lafw firmware)
+
+
+Building
+--------
+
+ $ ./sigrok-cross-linux
+
+Per default it will install the (cross-)compiled packages in:
+
+ $HOME/sr
+
+Please edit the script if you want to change any settings.
+