| 1 |
A new milestone in modular portable programming is ready!
|
| 2 |
|
| 3 |
The "Slottable Source Plugin Module" system (SSPM) is an idea that
|
| 4 |
really is more than 3 years old but I was hesitating to announce it
|
| 5 |
earlier. Now I can tell you that the new makefile system has been
|
| 6 |
under test during the last 6 months and nobody complained about any
|
| 7 |
problem caused by the SSPM.
|
| 8 |
|
| 9 |
The portability overhead is currently about 2 MB. This turns a medium
|
| 10 |
sized application like 'star' which is about 500 kB of pure source
|
| 11 |
into a packet that is 5x as big as the pure source size.
|
| 12 |
|
| 13 |
As all my applications are based on the Schily SING makefile system
|
| 14 |
and share a common portability base it makes sense to share the
|
| 15 |
advantages of the Schily makefile system with all users.
|
| 16 |
|
| 17 |
Simple ideas like the SSPM are usually hard to understand by people
|
| 18 |
from outside, so I try to describe the new system by giving you an
|
| 19 |
example on how it is used:
|
| 20 |
|
| 21 |
--------------------
|
| 22 |
You may test the new system by first downloading the latest
|
| 23 |
cdrtools package
|
| 24 |
|
| 25 |
ftp://ftp.berlios.de/pub/cdrecord/alpha/cdrtools-1.11a11.tar.gz
|
| 26 |
|
| 27 |
or newer. Then unpack the source tarball, chdir into the top level
|
| 28 |
directory of the cdrtools package. Run 'make' and wait until the
|
| 29 |
compilation has finished.
|
| 30 |
|
| 31 |
So far, there is nothing new (except that some people may recognize
|
| 32 |
that this is a 'smooth' fully integrated compilation and you don't need
|
| 33 |
to call 'configure'.
|
| 34 |
|
| 35 |
Now, to understand what a "Slottable Source Plugin Module" is, fetch
|
| 36 |
another source. There is currently only one demo source that is ready
|
| 37 |
for testing:
|
| 38 |
|
| 39 |
ftp://ftp.berlios.de/pub/star/alpha/star-1.4a08-sspm.tar.gz
|
| 40 |
|
| 41 |
Unpack this tarball in the top level directory of cdrtools and
|
| 42 |
call 'make' again. The Schily makefile system does recognize that there
|
| 43 |
is additional (uncompiled) source and will compile these new parts.
|
| 44 |
As there is no need to run 'configure' again, compilation of the
|
| 45 |
additional 'star' sources is much faster than the compilation of the
|
| 46 |
complete 'star' source package would take.
|
| 47 |
|
| 48 |
To understand how the "Slottable Source Plugin Module" system works,
|
| 49 |
have a look into the TARGETS directory.....
|
| 50 |
|
| 51 |
-------------------
|