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

Re: compile on Solaris 8 with gcc 3.2.2



On Sat, 1 Nov 2003, henry nelson wrote:

> > 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.

perhaps the gcc was a package that had the wrong pathnames compiled-in.
(I'd simply recompile a new gcc in that case).  In my day job, I've been
using (my own compile, not a package) gcc on Solaris 8 for some time.
No magic options needed...

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net