Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!rice!rice!sun-spots-request From: richard@unipalm.co.uk (Richard) Newsgroups: comp.sys.sun Subject: Re: Gnu C vs. cc Keywords: Software Message-ID: <1990Oct8.000923.11535@rice.edu> Date: 7 Oct 90 21:30:00 GMT Sender: sun-spots-request@rice.edu Organization: Sun-Spots Lines: 18 Approved: Sun-Spots@rice.edu Originator: spots@walhalla.rice.edu X-Sun-Spots-Digest: Volume 9, Issue 320, message 8 X-Refs: Original: v9nv9n311 > I'm interested in the performance differences between the SunOs 4.1 cc > compiler vs. Gnu-C 1.37.1. Which generates better code? Are there > patches to Gnu-C for a better code generator/optimizer? Thanks. -Steve From previous experience of gcc, it is important to distinguish which architecture you are running on. On the Sun/3 gcc makes a significant improvement (3 times faster in places) to the X server, but hardly makes any difference for Sparc or 386i architectures. Also important for us is the fact that gcc can't (in my version) handle shared libraries. Richard Nuttall richard@xtech.uucp XTech Limited, 145 St Neots Road, (richard@unipalm.uucp) Cambridge CB3 7QJ, England Tel: +44 954 211862 Fax: +44 954 211244