Srivastava, Mohit wrote:

> we have Solaris 5.7 
> we tried installing GNU C compiler buw were having problems.
> It would be great if u can add for for Solaris .

a few things...

1) you're probably going to need to install packages other than gcc.  if
you're using gcc, you should probably use the GNU binutils as well,
rather than the one in /usr/ccs/bin

there's a good list somewhere of things you need in order to compile
stuff nicely on slowlaris.

you'll want the sunos header files, the bundled ccs tools, bundled libc,
bundled libm and bundled shared libm....

on solaris 8, you'd prolly want:

SMCbinut
SMCgcc
SMClibgcc

from the freeware site or installed from source.
you may also want to install libiconv and ncurses from the sun
freeware site or from source.

and:

SUNWbtool
SUNWhea
SUNWlibC
SUNWlibCf
SUNWlibm
SUNWlibms
SUNWtoo

from the system. the package names may be different for 5.7; you might
also want to look for a more complete list online.

i think i had to do something like this:

LDFLAGS=-Wl,-R/usr/local/lib ./configure --with-libiconv-prefix=/usr/local

to get mutt to compile.  i'm not sure if that's the right way to do it
on solaris but it seemed to work.

Reply via email to