README
1README for building of Scintilla and SciTE
2
3Scintilla can be built by itself.
4To build SciTE, Scintilla must first be built.
5
6
7*** GTK+/Linux version ***
8
9You must first have GTK+ 1.2 or later and GCC (3.1 or better) installed.
10GTK+ 1.0x will not work and when it did it was very slow.
11Other C++ compilers may work but may require tweaking the make file.
12
13To build Scintilla, use the makefile located in the scintilla/gtk directory
14 cd scintilla/gtk
15 make
16 cd ../..
17
18To build and install SciTE, use the makefile located in the scite/gtk directory
19 cd scite/gtk
20 make
21 make install
22
23This installs SciTE into $prefix/bin. The value of $prefix is determined from
24the location of Gnome if it is installed. This is usually /usr if installed
25with Linux or /usr/local if built from source. If Gnome is not installed
26/usr/bin is used as the prefix. The prefix can be overridden on the command
27line like "make prefix=/opt" but the same value should be used for both make
28and make install as this location is compiled into the executable. The global
29properties file is installed at $prefix/share/scite/SciTEGlobal.properties.
30The language specific properties files are also installed into this directory.
31
32To build Scintilla for GTK+ 1 rather than the default GTK+ 2, define GTK1 on
33the make command line:
34 make GTK1=1
35
36To remove SciTE
37 make uninstall
38
39To clean the object files which may be needed to change $prefix
40 make clean
41
42The current make file only supports static linking between SciTE and Scintilla.
43
44
45*** Windows version ***
46
47A C++ compiler is required. Visual Studio .NET 2003 is the development system
48used for most development although Mingw32 3.1 and Borland C++ are also
49supported.
50For older versions of Borland make such as version 5.02, add the -l option.
51
52To build Scintilla, make in the scintilla/win32 directory
53 cd scintilla\win32
54GCC: mingw32-make
55VS .NET: nmake -f scintilla.mak
56VC++ 6: nmake -f scintilla_vc6.mak
57Borland: make -fscintilla.mak
58 cd ..\..
59
60To build SciTE, use the makefiles located in the scite/win32 directory
61 cd scite\win32
62GCC: mingw32-make
63VS .NET: nmake -f scite.mak
64Borland: make -fscite.mak
65
66An executable SciTE will now be in scite\bin.
67
68The Visual C++ 6.0 project (.dsp) files are no longer supported but are left
69in the download for people that are prepared to update them.
70