2009-04-25 01:35:41 +02:00
|
|
|
README for building of Scintilla and SciTE
|
|
|
|
|
|
|
|
Scintilla can be built by itself.
|
|
|
|
To build SciTE, Scintilla must first be built.
|
|
|
|
|
|
|
|
|
|
|
|
*** GTK+/Linux version ***
|
|
|
|
|
2010-07-13 00:19:51 +02:00
|
|
|
You must first have GTK+ 2.0 or later and GCC (4.1 or better) installed.
|
|
|
|
GTK+ 1.x will not work.
|
2009-04-25 01:35:41 +02:00
|
|
|
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.
|
|
|
|
The language specific properties files are also installed into this directory.
|
|
|
|
|
|
|
|
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 ***
|
|
|
|
|
2011-03-22 01:16:49 +01:00
|
|
|
A C++ compiler is required. Visual Studio .NET 2010 is the development system
|
2010-07-13 00:19:51 +02:00
|
|
|
used for most development although TDM Mingw32 4.4.1 is also supported.
|
2009-04-25 01:35:41 +02:00
|
|
|
|
|
|
|
To build Scintilla, make in the scintilla/win32 directory
|
|
|
|
cd scintilla\win32
|
|
|
|
GCC: mingw32-make
|
|
|
|
VS .NET: nmake -f scintilla.mak
|
|
|
|
cd ..\..
|
|
|
|
|
|
|
|
To build SciTE, use the makefiles located in the scite/win32 directory
|
|
|
|
cd scite\win32
|
|
|
|
GCC: mingw32-make
|
|
|
|
VS .NET: nmake -f scite.mak
|
|
|
|
|
|
|
|
An executable SciTE will now be in scite\bin.
|
|
|
|
|
2011-03-22 01:16:49 +01:00
|
|
|
The Visual C++ 6.0 project (.dsp) and make files are no longer supported but are left
|
2009-04-25 01:35:41 +02:00
|
|
|
in the download for people that are prepared to update them.
|
2010-07-13 00:19:51 +02:00
|
|
|
|
|
|
|
*** GTK+/Windows version ***
|
|
|
|
|
|
|
|
Mingw32 is known to work. Other compilers will probably not work.
|
|
|
|
|
|
|
|
Only Scintilla will build with GTK+ on Windows. SciTE will not work.
|
|
|
|
|
|
|
|
To build Scintilla, make in the scintilla/gtk directory
|
|
|
|
cd scintilla\gtk
|
|
|
|
mingw32-make
|