On Thu, Sep 3, 2009 at 2:58 PM, Rainer Gerhards<[email protected]> wrote: > Can you tell me what i need to do to get the recent gcc under solaris? I am > quite solaris illiterate, but have a vm where i compile (and upgrade) the > solaris branch from time to time. Getting v5 ready, too, would be a big step > :)
I come from a FreeBSD background so the Solaris package management system leaves much to be desired. The limitations of the default toolset in Solaris are amazing. That is why I started using pkgsrc - a portable package management system originally developed for netbsd. The way I got gcc44 working on Solaris 10/Sparc64: Download, install pkgsrc and bootstrap using the gcc from sunfreeware (3.4) # Check out: http://www.netbsd.org/docs/pkgsrc/platforms.html#solaris Install pkgsrc-wip using a cvs checkout # Check out: http://pkgsrc-wip.sourceforge.net/ Replace the wip/rsyslog port with the one I attached earlier on the thread. Build rsyslog and dependencies using gcc3.4 Install gcc44 from wip/gcc44 and make the changes I described in the first message of the thread cd /usr/pkgsrc/wip/rsyslog && make update # rebuild rsyslog with gcc44 On a side note: I tried building rsyslog-5 from git which compiled but would core every time I started it. BTW: Which virtual machine are you using to emulate sparc64? -Corey Smith _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com

