Re: static mc



Hello!

It would be nice to compile against static glib, but it needs to be done
manually.  For example, move shared glib library temporarily to some other
place.  Another approach is to redefine GLIB_LIBS, e.g.

make GLIB_LIBS=/usr/local/lib/libglib.a

I have experimented with compiling mc 4.6.0 statically
to put on a rescue cdrom.

This was the method I used:

1.  First make a glib-2.0 with static libs enabled:
          ./configure --enable-static
              and install

With the CVS version, you can use:
   ./configure --with-glib-static

-- 
Regards,
Pavel Roskin



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]