[gnu.misc.discuss] Developing/Production with GNU. Question: IS IT RELIABLE?

bruce@ACT.UUCP (Bruce Himebaugh) (11/01/90)

Our company has been looking for a good C compiler for a long time (i.e.
preferably ANSI compliant).  We are currently doing most of our Unix
development using an Altos Series 2000 and are very displeased with the C
compiler and tools available with it (e.g. lack of a good debugger).

Would those of you out there using GNU C, GNU Debugger and GNU EMACS consider
it to be reliable?  Would you use it in a production atmosphere such as ours
(i.e. write entire applications for other customers in it)?

If so, what all do I need to download?  Obviously, I need the compiler,
debugger and editor, but what else?  Libraries?  Is osu-cis a good place to get
the most current version?

Any information pertaining to this matter would be greatly appreciated!!!

Thanks,

Bruce
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Bruce Himebaugh             A.C.T. Consulting, Inc.         Voice: 216-455-1444
   PATHS: uunet!{ncoast,aablue}!fmsystm!mrsmouse!bmhalh!ACT!bruce
          (NOTE: the system name "fmsystm" is with no "e", NOT "fmsystem")
  *NOTE*: Please do not use bruce@ACT.UUCP -- I'm not registered yet.

mra@srchtec.UUCP (Michael Almond) (11/03/90)

In article <15@ACT.UUCP> bruce@ACT.UUCP (Bruce Himebaugh) writes:
>Our company has been looking for a good C compiler for a long time (i.e.
>preferably ANSI compliant).  We are currently doing most of our Unix
>development using an Altos Series 2000 and are very displeased with the C
>compiler and tools available with it (e.g. lack of a good debugger).
>
>Any information pertaining to this matter would be greatly appreciated!!!

I think expo.lcs.mit.edu or prep.ai.mit.edu will have the latest and greatest
versions.


---
Michael R. Almond                                  mra@srchtec.uucp (registered)
search technology, inc.				        emory!stiatl!srchtec!mra
Atlanta, Georgia                                         (404) 441-1457 (office)
.'.'.'.'.'.'.'.'.'.'.'.'.'. Georgia Tech Alumnus .'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.

chris@utgard.uucp (Chris Anderson) (11/03/90)

In article <15@ACT.UUCP> bruce@ACT.UUCP (Bruce Himebaugh) writes:
>Our company has been looking for a good C compiler for a long time (i.e.
>preferably ANSI compliant).  We are currently doing most of our Unix
>development using an Altos Series 2000 and are very displeased with the C
>compiler and tools available with it (e.g. lack of a good debugger).
>
>Would those of you out there using GNU C, GNU Debugger and GNU EMACS consider
>it to be reliable?  Would you use it in a production atmosphere such as ours
>(i.e. write entire applications for other customers in it)?

Ummm... well, yes, sort of.  I use GNU Emacs every day in a production
environment.  It's stable, and there isn't any other editor out there
that (IMHO) matches it.

I also use GNU cc in a production environment as a cross compiler
from Pyramid to 68000 targets.  It's not bad.  There are several cases
where bad code was produced, but only under pathological conditions. 
For the most part, it has performed very well.  Far better than the
Plexus C compiler that came with my 68000 machine.

GNU cc *has* produced bad code several times on the Pyramid, though. 
Not knowing the Pyramid assembly language, I have been unable to fix 
the problem.  We use Pyramid's cc in that case.  

I have not used GNU cc on an i386.  However, friends who have tell me
that it's relatively stable and that they use it routinely.  Remember,
though, that GNU cc is in beta test.  I see numerous reports in 
gnu.gcc.bugs for it.  Most of the bugs appear to be pathological cases,
but ...

So, to answer your question: Yes, I would use gcc and emacs in a
production environment.  I *would* tend to watch the output of gcc,
though, until I felt comfortable with it.  But if you write "standard"
C, you should have no problems with it.

I have never managed to get gdb running on the Pyramid, so I can't
tell you much about that.

>If so, what all do I need to download?  Obviously, I need the compiler,
>debugger and editor, but what else?  Libraries?  Is osucis a good place to get
>the most current version?

Use the libraries supplied on your machine.  You need at least gcc,
emacs 18.55, and gdb.  You might also need gas, binutils, bison, and
the COFF patches (if Altos uses COFF).  Other people, who have built
these things on a 386 should be able to tell you more.

>Any information pertaining to this matter would be greatly appreciated!!!

Hope this helps.

Chris
-- 
| Chris Anderson                                                       |
| QMA, Inc.                     email : {csusac,sactoh0}!utgard!chris  |
|----------------------------------------------------------------------|
| My employer never listens to me, so why should he care what I say?   |

savage@boulder.Colorado.EDU (Metallica Rules) (11/05/90)

In article <15@ACT.UUCP> bruce@ACT.UUCP (Bruce Himebaugh) writes:
>Our company has been looking for a good C compiler for a long time (i.e.
>preferably ANSI compliant).  

Supposedly, the new Interactive supplied compiler that was developed by another 
company is supports the ANSI standard.  Sorry I don't have the name as I am not 
at home.  If you want the name of the company I can supply it if needed, just 
let me know.

								Chuck
savage%tigger@boulder.colorado.edu

larry@nstar.uucp (Larry Snyder) (11/05/90)

savage@boulder.Colorado.EDU (Metallica Rules) writes:

>Supposedly, the new Interactive supplied compiler that was developed by another 
>company is supports the ANSI standard.  Sorry I don't have the name as I am not 
>at home.  If you want the name of the company I can supply it if needed, just 
>let me know.

LPI - we have it here at nstar, but never installed it.  The editor
(coedit as I remember) is a neat full screen editor that I was thinking
of using on the BBS..

-- 
       Larry Snyder, Northern Star Communications, Notre Dame, IN USA 
 {larry@nstar, uunet!sco!romed!nstar!larry, nstar%larry@iuvax.cs.indiana.edu}
                     backbone usenet newsfeeds available
         Public Access Unix Site (219) 289-0282 (5 high speed lines)

johnl@iecc.cambridge.ma.us (John R. Levine) (11/05/90)

In article <15@ACT.UUCP> bruce@ACT.UUCP (Bruce Himebaugh) writes:
>Our company has been looking for a good C compiler for a long time (i.e.
>preferably ANSI compliant).  

Over the past year, I've been involved in the development of several
commercial packages for Sys V 386 systems as well as all three flavors of
Suns.  In every case, we used GCC as the compiler.  It is as far as I can
tell as reliable as the vendor compilers and usually generates better code.
It also has the large advantage of being the same compiler on every platform,
thereby avoiding many grotty portability nits.

There were occasional bugs, but no more than in a commercial compiler.  GCC
of course has the advantage that if a bug really bothers you, you have the
source to the compiler and can fix it yourself.

Interactive distributes the LPI C compiler (sometimes confusingly called
New C) but I haven't tried it.

-- 
John R. Levine, IECC, POB 349, Cambridge MA 02238, +1 617 864 9650
johnl@iecc.cambridge.ma.us, {ima|spdcc|world}!esegue!johnl
"Although the moon is smaller than the earth, it is also farther away."