Searching \ for ' GNU GPL C compiler for PIC' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/languages.htm?key=c
Search entire site for: 'GNU GPL C compiler for PIC'.

No exact or substring matches. trying for part
PICList Thread
'[PICLIST] GNU GPL C compiler for PIC'
2001\10\08@113126 by Roy Souther

flavicon
face
Has anyone writen a free compiler for PIC that runs on Linux and is licensed
under the GNU GPL? I have some students that want to make a project and then
share the code and hex files after.

I use the Hi-Tech compiler but I don't think the free version runs on Linux
and I don't think you are allowed to share the hex file made from the free
compiler.

Solutions?
--
Roy Souther <spam_OUTroyTakeThisOuTspamsilicontao.com>
http://www.SiliconTao.com

Windoze users are hopeful,
Linux users are confident.

--
http://www.piclist.com hint: To leave the PICList
.....piclist-unsubscribe-requestKILLspamspam@spam@mitvma.mit.edu


2001\10\08@121147 by Scott Dattalo

face
flavicon
face
On Mon, 8 Oct 2001, Roy Souther wrote:

> Has anyone writen a free compiler for PIC that runs on Linux and is licensed
> under the GNU GPL? I have some students that want to make a project and then
> share the code and hex files after.
>
> I use the Hi-Tech compiler but I don't think the free version runs on Linux
> and I don't think you are allowed to share the hex file made from the free
> compiler.
>
> Solutions?

Roy,

I'm actively working on porting SDCC to the PIC midrange architecture. You
can checkout a brief history of my efforts:

http://www.dattalo.com/gnupic/sdcc.html

SDCC's homepage is here:
http://sdcc.sourceforge.net/


As I've told others, the rate at which I'm progressing I'll probably have
a beta quality compiler by March '02. Right now, you can grab what's in
CVS and experiment with variations of the code that is working. In the CVS
tree, I've created:

sdcc/src/regression/*.c

These contain numerous C files for testing new features as I add them. You
can see this on line at:

cvs.sourceforge.net/cgi-bin/viewcvs.cgi/sdcc/
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/sdcc/sdcc/src/regression/

Some of the major things working are:

addition, subtraction, <<, >>, ^, comparisons, for loops, case statements

Some of the things partially working:

Parameter passing to functions, returning parameters from functions,
structures, signed operations, pointers, code banking, register banking.

Some of things that don't work at all:

multiplication, division, %, 32-bit types, floating types


Some of the exotic stuff that works:

Post code optimization, call stack tracing, dynamic register allocation,

Some of the important stuff outside of the immediate scope of the C
compiler that doesn't work:

Object file support/linking, library generation (e.g. code for uarts or
I2C), Processor specific include files.


Scott

--
http://www.piclist.com hint: To leave the PICList
piclist-unsubscribe-requestspamKILLspammitvma.mit.edu


More... (looser matching)
- Last day of these posts
- In 2001 , 2002 only
- Today
- New search...