SDCC free C compiler (also for PIC)...

Status
Not open for further replies.

TekUT

Full Member level 6
Joined
Jun 17, 2008
Messages
323
Helped
39
Reputation
78
Reaction score
15
Trophy points
1,298
Location
Italy
Activity points
3,557
Recently I've discovered a free (command line) PIC C compiler with name SDCC:

http://sdcc.sourceforge.net/snap.php
(download the file sdcc-20080930-5242-setup.exe)

someone have used it? What's about performance compared to well know commercial tools like Hi-Tech, CCS and similar?

At now I've just installed the SDCC compiler and also the GPUTILS (which isn't into the package and you need to download and install it separately to keep a working compilation for PIC).
The GPUTILS (gputils-win32) can be downloaded here:

http://sourceforge.net/project/showfiles.php?group_id=41924

After installing stage you can try to compile a simple program like the
toggle_led.c attached by using this commmand (into a console window START->RUN->cmd):

sdcc --debug -mpic14 -p16f627 toggle_led.c

Thanks

Bye
Pow
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…