| View previous topic :: View next topic |
| Author |
Message |
_AsHeR_ Guest
|
Posted: Fri Jul 18, 2003 9:40 am Post subject: A clean static compilation of an eggdrop bot |
|
|
After reading a lot of posts here, an idea came to me. A lot of people around are trying to compile their bots statically but use libtclxxx.so to achieve that ... or a .so library is by essence a shared library. What I mean is that such a bot is not *completely* static because it needs the libtclxxx.so to be installed on the machine.
I wrote a little howto to get users compile a *completely* static eggdrop, it's not long and not hard, btw not harder than compiling the bot as usual ::)
Hope it could help.
| Code: | #=------------
#=- HOWTO compile an eggdrop statically
#=------------
#=- Compiling tcl 8.4
tar zxvf tcl8.4.3-src.tar.gz
cd tcl8.4.3/unix
./configure --disable-shared
make
#=- Compiling eggdrop
tar zxvf eggdrop1.6.15.tar.gz
cd eggdrop1.6.15
./configure --enable-ipv6 --with-tcllib=/path/to/tcl8.4.3/unix/libtcl8.4.a --with-tclinc=/path/to/tcl8.4.3/generic/tcl.h --enable-static
make config
make static |
The aim of compiling statically or the static versus dynamic advantages are not the point here.
Gu1nn3ss 1s l33t |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|