Compiling the VM statically

Lukas Renggli renggli at gmail.com
Wed Sep 21 07:04:12 UTC 2005


Hi,

I am trying to compile the Squeak 3.7 VM on Unix statically, so that
it doesn't require any external libraries: all plugins and external
libraries (libc, libm, ...) should be linked into the resulting binary
itself.

I tried:

  export CFLAGS=-static
  export LDFLAGS=-static
  ../platforms/unix/config/configure --enable-static
  make

However I get:

  bash:~//Squeak-3.7-7/build# ldd squeak
  libutil.so.1 => /lib/tls/libutil.so.1 (0xb7fdf000)
  libdl.so.2 => /lib/tls/libdl.so.2 (0xb7fdb000)
  libm.so.6 => /lib/tls/libm.so.6 (0xb7fb9000)
  libnsl.so.1 => /lib/tls/libnsl.so.1 (0xb7fa5000)
  libc.so.6 => /lib/tls/libc.so.6 (0xb7e70000)
  /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb7fea000)

What am I missing?

Thanks for any hints,
Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch



More information about the Squeak-dev mailing list