<<< Date Index >>>     <<< Thread Index >>>

Re: compile on Solaris 8 with gcc 3.2.2



> minimum chunk of the library that you need.  I'm not sure how Solaris
> libc goes in that regard.  Check the size of your resulting binary.
> If mutt < (libc + slang + ~500k) then I'd guess the linker isn't
> including all of the libraries.  Of course, I could be wrong, because
> of stripped symbols, etc. etc.. but it might be worth a look.

I'm no expert by any means.  Mutt stripped is 1.8MB, which isn't terribly
large.  (libc is 1.7MB and libslang is .6MB, but there are other libraries
I haven't considered like libintl and libiconv.)  If I get ever get the
time and learn how to do a quick search, I'll give it a try.  `ar -d` is
easy to use.

> By the way, how come dynamic linking doesn't work?  Is it safe to
> assume you attempted using shared libraries but the process failed?

If I knew "how come" I wouldn't be here.  AFAICT, it's a problem in the
configure script.  Since gcc3.2.x, I haven't been able to get a single
program to link properly without setting "-Wl,-rpath" to EVERY library
that gets linked in.  Normally this works by using the environment
variable LDFLAGS, but if I set anything in LDFLAGS, the mutt configure
script immediately dies with "gcc isn't usable."  If I try to link
dynamically without setting LDFLAGS, then something goes wrong with
the check on the iconv library.  IIRC, I was able to build a non-
international version of mutt just with "configure; make," but it's
been close to a year now.

henry
> 
> Cheers,
>  Allister
> 
> -- 
> Allister MacLeod <amacleod@xxxxxxxx>
>  Elen s?la l?menn'omentielvo.