gnupic: recommended C compiler ??


Previous by date: 12 Apr 2002 13:28:52 -0000 Re: recommended C compiler ??, Steve
Next by date: 12 Apr 2002 13:28:52 -0000 Re: recommended C compiler ??, Scott Dattalo
Previous in thread: 12 Apr 2002 13:28:52 -0000 Re: recommended C compiler ??, Steve
Next in thread: 12 Apr 2002 13:28:52 -0000 Re: recommended C compiler ??, Scott Dattalo

Subject: Re: recommended C compiler ??
From: ####@####.#### (Linas Vepstas)
Date: 12 Apr 2002 13:28:52 -0000
Message-Id: <20020412132046.GB32286@backlot.linas.org>

On Fri, Apr 12, 2002 at 06:03:33AM -0700, Scott Dattalo was heard to remark:
> 
> If you're using or planning to use SDCC, then I strongly suggest using the
> version out of CVS.

I tired that, it looked pretty good.  Seemed to have two 'trivial' bugs
(excuse me, I'm brand-spanking new to PIC's, so I assume they're bugs).

1) compiling main() { int i; while(1) { i++; }} generated code that
   sat on top of 0x4 in ROM.  I thought 0x4 was the interrupt vector?

2) sdcc -m pic14 -p pic16c773 gave me the 16f877 core instead.  In fact,
   any -p flag gave me the 877 core.  (first or second non-comment line 
   in the generated assembly). 

Like I say, I'm new to pics, so maybe I'm confused ..
--linas


-- 
pub  1024D/01045933 2001-02-01 Linas Vepstas (Labas!) ####@####.####
PGP Key fingerprint = 8305 2521 6000 0B5E 8984  3F54 64A9 9A82 0104 5933

Previous by date: 12 Apr 2002 13:28:52 -0000 Re: recommended C compiler ??, Steve
Next by date: 12 Apr 2002 13:28:52 -0000 Re: recommended C compiler ??, Scott Dattalo
Previous in thread: 12 Apr 2002 13:28:52 -0000 Re: recommended C compiler ??, Steve
Next in thread: 12 Apr 2002 13:28:52 -0000 Re: recommended C compiler ??, Scott Dattalo


Powered by ezmlm-browse 0.20.