Re: [gtk-list] Re: error compiling 1.0.5 on Solaris 2.6 machine



> > > on older sparcs. See /usr/include/sys/isa_defs.h for more info).
> > Thanks for the suggestion - I tried adding -D__sparcv8 and it still
> > didn't work.  I found a machine that was still runing Solaris 2.4 and
> I've built 1.0.0 through 1.0.4 on Solaris 2.6 without problems - I'm
> going to get round to building 1.0.5 today.  What C compiler are you
> using?  (I've used gcc 2.7.2.3 and egcs 1.0.3 successfully)

If you use precompiled SVR4 packages, you need a new one for 2.6.

I know from experience that GCC for 2.5.1 won't work in all cases (sometimes
it *does* work) on 2.6. The problem, I believe (without looking into it
in much detail), is a mismatch between /usr/include and the GCC includes
in /opt/GCCxxxx/lib/gcc-lib/sparc-sun-solaris2.x/x.x.x.x/include and
/opt/GCCxx/include.

You can get a precompiled GCC .pkg from a SunSite. Just make sure to
download it from the 2.6/ subdir!

Allan



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