Re: gnome 0.12, Irix 6.3



On Mon, 26 Jan 1998, Jamie Zawinski wrote:

> Hey there.  I'm trying to build Gnome on Irix 6.3 (SGI O2) and having
> a rough time.
> 
> First, I tried using gcc, but that doesn't work, because the configure
> script apparently doesn't know how to create dynamic libraries using 
> gcc on Irix.  The error is
> 
> > /tools/ns/soft/gcc-2.7.2.1/run/default/mips_sgi_irix6.2/lib/gcc-lib/mips-s
> > gi-irix5.3/2.7.2.1/ld -n32 -shared -o .libs/libgnome.so.0.0.0 -soname libg
> > nome.so -set_version 0.0.0:0.0 gnome-hook.o gnome-util.o gnome-config.o gn
> > omelib-init.o gnome-dentry.o gnome-dns.o gnome-fileconvert .o gnome-histor
> > y.o gnome-mime.o gnome-score.o gnome-string.o gnome-triggers.o
> >
> > collect2: ld returned 4 exit status
> > ld: FATAL 112: cannot link old 32-bit object with -n32 link: gnome-hook.o.

> I'm guessing the easiest way out of this mess is, "figure out how
> to make Irix gcc able to build shared libraries.  But I don't know
> how to do that.

	I've had a lot of problems with SGI's compiler over the years.
In order to make gcc work correctly on a SGI, you have to have gnu's
binutils.  If you don't have them, gcc doesn't have a lot of the
functionality which it needs.  (Such as debugging.  I'm not kidding about
this.  Without binutils, -g doesn't do anything but produce another
warning.)  And SGI's cc is fairly poor as well.  Even cvd, their debugger,
is horrible...
						-Ben

------------------------------------ |\      _,,,--,,_  ,) ----------
Benjamin Kahn                        /,`.-'`'   -,  ;-;;'
(212) 924 - 2220                    |,4-  ) )-,_ ) /\
ben@cybersites.com --------------- '---''(_/--' (_/-' ---------------
 If you love something, write it in C; if it compiles, it is yours; 
                     if it doesn't, it never was. 





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