aboutsummaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2011-11-01 06:24:11 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2011-11-01 06:24:11 (GMT)
commit2223c879bf41d2b4f40fa43db478ba1bce8523de (patch)
tree73defc6419ce1e0744081c5d4235f285706d3f96 /INSTALL
parentaabf32a1d908b2a07578d8e02aa1efc1879b6e5c (diff)
downloadfluxbox-2223c879bf41d2b4f40fa43db478ba1bce8523de.zip
fluxbox-2223c879bf41d2b4f40fa43db478ba1bce8523de.tar.bz2
moved meta-information around a little bit
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL53
1 files changed, 42 insertions, 11 deletions
diff --git a/INSTALL b/INSTALL
index ee8983e..005a1aa 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,7 +1,16 @@
1-- INSTALL for Fluxbox 1= INSTALL for Fluxbox
2
3== TL;DR Instructions
4
5 $ ./configure
6 $ make
7
8and then as root
9
10 $ make install
11
12== Compilation and Installation
2 13
3Compilation and Installation:
4--------------------------------
5 The `configure' shell script attempts to guess correct values for 14 The `configure' shell script attempts to guess correct values for
6various system-dependent variables used during compilation. It uses 15various system-dependent variables used during compilation. It uses
7those values to create a `Makefile' in each directory in the 16those values to create a `Makefile' in each directory in the
@@ -46,8 +55,8 @@ The simplest way to compile this package is:
46 a different kind of computer), type `make distclean'. 55 a different kind of computer), type `make distclean'.
47 56
48 57
49Compilers and Options: 58== Compilers and Options
50---------------------- 59
51 Some systems require unusual options for compilation or linking that 60 Some systems require unusual options for compilation or linking that
52the `configure' script does not know about. You can give `configure' 61the `configure' script does not know about. You can give `configure'
53initial values for variables by setting them in the environment. Using 62initial values for variables by setting them in the environment. Using
@@ -58,9 +67,35 @@ this:
58Or on systems that have the `env' program, you can do it like this: 67Or on systems that have the `env' program, you can do it like this:
59 env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure 68 env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
60 69
70=== Cross-Compiler for Microsoft Windows:
71
72You'll want mingw-cross-env installed, with libX11 and mingw-catgets built.
73A configure line that works is:
74
75 $ ./configure \
76 --prefix=/ \
77 --host=i686-pc-mingw32 \
78 --disable-imlib2 \
79 --disable-xmb \
80 --disable-slit \
81 --disable-remember \
82 --disable-toolbar \
83 --disable-fribidi \
84 --disable-nls \
85 --disable-xft \
86 LIBS="-lxcb -lXdmcp -lXau -lpthread -lws2_32"
87
88Then, build and install with
89
90 $ make install DESTDIR=$(pwd)/stage
91
92You can then copy the whole "stage" directory to a Windows machine and
93run it on your choice of X server.
94
95
96
97== Optional Features
61 98
62Optional Features:
63------------------
64Fluxbox supports the XShape extension of X11R6. This support is enabled by 99Fluxbox supports the XShape extension of X11R6. This support is enabled by
65default, but may be overridden by specifying `--disable-shape' on the configure 100default, but may be overridden by specifying `--disable-shape' on the configure
66script's command line. 101script's command line.
@@ -84,7 +119,3 @@ automatically, but if it doesn't, you can use the `configure'
84options `--x-includes=DIR' and `--x-libraries=DIR' to specify 119options `--x-includes=DIR' and `--x-libraries=DIR' to specify
85their locations. 120their locations.
86 121
87
88Please read the README file also.
89
90