39
|
1 |
This is the directory where your smalltalk executable is created.
|
|
2 |
The TOP makefile arrives here and does a 'make' here as
|
|
3 |
a final step.
|
1119
|
4 |
The make here will leave an executable 'smalltalk' here.
|
39
|
5 |
This can be executed here or copied to use/local/bin (or whereever).
|
|
6 |
For proper execution, smalltalk needs access to the sourcefiles (for the browser)
|
|
7 |
and some config files (resources, styles and .rc files).
|
|
8 |
The makefile here creates subdirectories containing symbolic links to
|
1119
|
9 |
these files. The searchpath (see Smalltalk>>systemPath) for all file accesses
|
39
|
10 |
is set to access files either locally, or in usr/local/lib/smalltalk.
|
|
11 |
Local operation:
|
|
12 |
files are installed as symbolic links in subdirectories.
|
|
13 |
The are accessed locally ('.' being in the path)
|
|
14 |
Group operation (proper installation):
|
|
15 |
the files are installed as copies subdirs of in usr/local/lib/smalltalk
|
|
16 |
Users may override these by creating subdirectories locally
|
|
17 |
(for example: having a private 'smalltalk.rc')
|
|
18 |
Access is from local files or global files - whichever is found first
|
|
19 |
|
|
20 |
|
|
21 |
Things you can do here:
|
|
22 |
|
|
23 |
make compile a smalltalk, create symbolic links to
|
|
24 |
sourcefiles, bitmaps and resources.
|
267
|
25 |
The resulting executable (stx) is fit for local
|
|
26 |
execution (i.e. it does not require any installed
|
|
27 |
files from other places).
|
|
28 |
It can also be installed for shared usage (in /usr/local)
|
|
29 |
via the INSTALL script found in the TO directory.
|
39
|
30 |
|
|
31 |
make smalltalk only compile; leave links alone
|
|
32 |
|
137
|
33 |
make smalltalk ADDITIONAL_CLASSES=<list of class names> \
|
|
34 |
ADDITIONAL_OBJS=<list of object files>
|
|
35 |
|
|
36 |
compile (i.e. link) a smalltalk, which contains
|
|
37 |
additional user classes.
|
|
38 |
This can be used to make a bigger smalltalk, without
|
224
|
39 |
defining a PACK.
|
137
|
40 |
However, we recommend adding a package definition to the
|
|
41 |
configurations/PACKS directory, and doing a CONFIG.
|
1119
|
42 |
|
224
|
43 |
make stx_fullstatic
|
|
44 |
generates a statically linked executable.
|
|
45 |
On some systems (solaris), this has a much faster
|
|
46 |
startup time, since the shared-library linker does not have
|
|
47 |
to patch the executable during startup (which creates lots of
|
|
48 |
copy-on-write actions).
|
|
49 |
|
39
|
50 |
make symLinks only symbolic links are created
|
|
51 |
|
|
52 |
make install install smalltalk, libraries, include-files
|
|
53 |
and sources in DESTBINDIR and DESTLIBDIR.
|
|
54 |
Check with 'make -n install' before doing so.
|
|
55 |
DESTBINDIR/DESTLIBDIR are typically set to
|
|
56 |
/usr/local/bin
|
|
57 |
/usr/local/lib/smalltalk
|
|
58 |
respectively.
|
189
|
59 |
|
|
60 |
make demoApp1 a 'hello world' non-graphical demo application
|
|
61 |
see more in ../demoApps
|