blob: 9a2c0f0afae09d778c92785863108e2f6fbb2b4a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
README for building of Scintilla and SciTE
Scintilla can be built by itself.
To build SciTE, Scintilla must first be built.
*** GTK+/Linux version ***
You must first have GTK+ 1.2x and GCC (2.8 or better) installed.
GTK+ 1.0x will not work and when it did it was very slow.
Other C++ compilers may work but may require tweaking the make file.
To build Scintilla, use the makefile located in the scintilla/gtk directory
cd scintilla/gtk
make
cd ../..
To build and install SciTE, use the makefile located in the scite/gtk directory
cd scite/gtk
make
make install
This installs SciTE into $prefix/bin. The value of $prefix is determined from
the location of Gnome if it is installed. This is usually /usr if installed
with Linux or /usr/local if built from source. If Gnome is not installed
/usr/bin is used as the prefix. The prefix can be overridden on the command
line like "make prefix=/opt" but the same value should be used for both make
and make install as this location is compiled into the executable. The global
properties file is installed at $prefix/share/scite/SciTEGlobal.properties.
If Gnome is installed then a .desktop file and icon are installed into the
correct Gnome places so that SciTE will be in the Gnome Applications menu.
To remove SciTE
make uninstall
To clean the object files which may be needed to change $prefix
make clean
The current make file only supports static linking between SciTE and Scintilla.
*** Windows version ***
A C++ compiler is required. Mingw32 GCC 2.95.2 is the compiler used
for most development although Visual C++ and Borland C++ are also supported.
The make command used is
For GCC, make
For VC++, nmake /f makefile_vc
For Borland C++ 5.02 (MAKE Version 5.0), make -l -fmakefile_bor
For Borland C++ Builder, make -fmakefile_bor
To build Scintilla, make in the scintilla/gtk directory
cd scintilla\win32
[make command as described above for your compiler]
cd ..\..
To build SciTE, use the makefile located in the scite/gtk directory
cd scite\win32
[make command as described above for your compiler]
An executable SciTE will now be in scite\bin.
|