Download Latest Version sdcc-src-4.5.0.tar.bz2 (20.3 MB)
Email in envelope

Get an email when there's a new version of Small Device C Compiler (SDCC)

Name Modified Size InfoDownloads / Week
Parent folder
sdcc-2.4.0-macosx.tar.gz 2004-02-26 3.4 MB
Totals: 1 Item   3.4 MB 0
SDCC Binary Kit Install Help
----------------------------

For Mac OS X users:
===================
To install:

* Extract the binary kit to a temporary directory.
  This will create a new directory called 'sdcc' in the temporary directory.
    cd ~
    mkdir tmp
    cd tmp
    tar xjf path/to/binary/kit/sdcc-3.x.0-universal-apple-macosx.tar.bz2

* Change to the sdcc directory and copy all files to /Developer/sdcc
    cp -r sdcc /Developer/sdcc

This will install sdcc binaries into: /Developer/sdcc/bin/
header files into:                    /Developer/sdcc/share/sdcc/include/
non-free header files into:           /Developer/sdcc/share/sdcc/non-free/include/
library files into:                   /Developer/sdcc/share/sdcc/lib/
non-free library files into:          /Developer/sdcc/share/sdcc/non-free/lib/
and documentation into:               /Developer/sdcc/share/sdcc/doc/

You can test the install by entering:
    /Developer/sdcc/bin/sdcc -v

This should return sdcc's version number.

Even if the default search paths look into /usr/local, sdcc is fully
relocatable. Try `sdcc --print-search-dirs` if you have problems with header
or library files. See sdccman.pdf for more detailed information.
Source: README_macosx.txt, updated 2014-04-11