Share

Small Device C Compiler

Code

Programming Languages: C

License: GNU General Public License (GPL)

Repositories

browse code, statistics, last commit on 2009-11-05 svn co https://sdcc.svn.sourceforge.net/svnroot/sdcc sdcc

Show:

What's happening?

  • Followup: RE: pic16f887 not compiling for me

    Your example works for me. You might try to update your gputils. If that does not work out, you could post 1. your .asm file, 2. your /usr/local/share/gputils/header/p16f887.inc, 3. your gputils version number (according to `gpasm --version` I use gpasm-0.13.7 beta, obtained from svn r569), 4. and your sdcc version (I use a modified svn head, 2.9.4, rSOMETHING). Raphael.

    2009-11-20 14:14:53 UTC by tecodev

  • 8051: Function at absolute address

    Hi, I need to have some code like `ljmp _some_function` at specified address, for example 0x100. In Keil I have EXTRN CODE(_some_function) CSEG AT 0100H LJMP _some_function END How can I do this with sdcc? I need it because I have a chip with built-in firmware which calls my functions at some...

    2009-11-20 13:14:46 UTC by jedrezej

  • Comment: Parameters lost from scope of intermediate inline function

    Hello Martin, I have used Tiny-OS 2.1 Debian packages from tiny.net for base and TinyOS8051wg-0.1pre4.tgz 26 Oct 2008 for mcs51 support and applications. With proposed changes to mangleAppC.pl, I have been able to compile even Echo, but none of apps seems to be responsive under s51 emulator. I have luck to compile most of applications but TTXDemo and some other complex one failed on...

    2009-11-19 18:17:54 UTC by ppisa

  • Comment: Parameters lost from scope of intermediate inline function

    Hi Pavel. Great job! This seems to take a big step towards compiling my code! While you mention that your code might not be mature enough to be included in sdcc, I'll take this chance to encourage the authors to work on the ideas that you propose! Here is what I did: I was unable to compile current sdcc-svn with the patches. So I applied the patches the current release 2.9.0 and it compiled...

    2009-11-19 12:56:42 UTC by mleopold

  • compiling as a process not working

    Hi all, I'm trying to compile a file as a process operating the cmd (basically all i need is the ihx file). While it works perfectly using the cmd, it doesn't work using the process command. from the other end, the error lines (when there are some) are refered just as they should, i.e something does work. the lines are as followed: TCHAR szCommandLine[] = _T("cmd /c...

    2009-11-19 07:55:30 UTC by ranslon

  • pic16f887 not compiling for me

    Hi, I am using a 44 pin demo board with a pic16f887..... and can't for the life of me figure out what I am doing wrong..... My code is simple enough...... #define __16F887 #include "pic/pic16f887.h" // Configurations typedef unsigned int config; config at 0x2007 __CONFIG1 = _INTRC_OSC_NOCLKOUT & _WDT_OFF & _PWRTE_OFF & _MCLRE_OFF & _CP_OFF & _BOR_OFF & _IESO_OFF &...

    2009-11-17 17:28:14 UTC by tj4shee

  • Comment: Parameters lost from scope of intermediate inline function

    Implemented and corrected missing/broken parts of inline functions expansion for switch statements. This should correct build of generated TinyOS code sent by Martin. Patch attached 0004-Implemented-missing-incorrect-parts-of-inline-expans.patch Please, test the code and please, do not let this effort to be only waste of time. Try to check proposed changes. They are not extremely...

    2009-11-17 16:22:47 UTC by ppisa

  • Smaller floating point library for gbz80?

    I just added a module to my gbz80 project which uses floating point. Turns out that this adds way too much code. Investigating the library source indicates that the situation would be helped by the inclusion of a floating point library implemented in assembler. Is there such a library around here? Are there any plans to include one? Robert Ramey.

    2009-11-16 18:28:09 UTC by ramey

  • Followup: RE: floating point

    I would be interested in such a a package. Robert Ramey ramey@rrsd.com.

    2009-11-14 23:59:12 UTC by ramey

  • ancient-libtool sim/ucsim/ltmain.sh 1.4.2

    Hi Can you please update the ltmain file. I get the following explanation in the Debian package. The referenced file seems to be from a libtool version older than 1.5.2-2. This might lead to build errors on some newer architectures not known to this libtool. Please ask your upstream maintainer to re-libtoolize the package or do it yourself in case there is no active upstream anymore...

    2009-11-14 22:35:58 UTC by gaui