debian/0000755000000000000000000000000012260251336007166 5ustar debian/copyright0000644000000000000000000001405112225023614011117 0ustar This package was debianized by Aurelien Jarno on Sat, 01 Dec 2001 17:42:52 +0100. It was downloaded from http://sdcc.sourceforge.net Upstream author: Borut Razem Copyright: The SDCC distribution aggregates contributions from many copyright holders, including: Copyright (c) 1989-1995 Alan R. Baldwin Copyright (c) 2009 AT&T Copyright (c) 2004 Bjorn Bringert Copyright (c) 1984-1990 Bob Corbett and Richard Stallman Copyright (c) 2002-2009 Borut Razem Copyright (c) 2000-2003 Dallas Semiconductor Corporation Copyright (c) 1990 Debby Ayers Copyright (c) 1999-2002 Drotos Daniel, Talker Bt Copyright (c) 2004 Erik Petrich Copyright (c) 1989-1991 Free Software Foundation, Inc Copyright (c) 2005-2007 Frieder Ferlemann Copyright (c) 2007-2009 Gudjon I. Gudjonsson Copyright (c) 2002-2003 Jesus Calvino-Fraga Copyright (c) 2004 Juan Gonzalez Copyright (c) 2002 Kevin L. Pauba Copyright (c) 2007 Kyle Guinn Copyright (c) 2005 Llewellyn van Zyl Copyright (c) 2004 Lucas Loizaga Copyright (c) 2003-2009 Maarten Brock Copyright (c) Microsoft Corporation Copyright (c) 2005 Omar Espinosa Copyright (c) 2005 Paul Hsieh Copyright (c) 1997-2002 Paul Stoffregen Copyright (c) 2006 Philippe Latu Copyright (c) 1991 Pipeline Associates, Inc Copyright (c) 2002-2007 Quantum Leaps, LLC Copyright (c) 2007 Raphael Neider Copyright (c) 1998-2000 Red Hat, Inc. Copyright (c) 2009 Rheinhold Weicker Copyright (c) 1996-1999 Robin Friedrich Copyright (c) 1999 Sandeep Dutta Copyright (c) 2008 Steven Borley Copyright (c) 2009 The Regents of the University of California Copyright (c) 1994-1995 Tinker Systems and INS Engineering Corp Copyright (c) 1991-2005 Unicode, Inc Copyright (c) 1994 X Consortium License: The bulk of the compiler is licensed under the GPL version 2 or later, while the assemblers originating from Alan R. Baldwin are licensed GPL version 3 or later. Various files associated with support for specific processors carry other licenses, all of which appear to be compatible with both versions 2 and 3 of the GPL. On Debian systems, the complete text of both GPL versions can be found in the directory /usr/share/common-licenses/GPL-2. The sdcc library is licenced either as GPL, GPL+LE or LGPL. With GPL+LE the following special exception applies: As a special exception, if you link this library with other files, some of which are compiled with SDCC, to produce an executable, this library does not by itself cause the resulting executable to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the executable file might be covered by the GNU General Public License. ----- Example programs for Dallas Semiconductor MCU's --------------------- Copyright (C) 2000 Dallas Semiconductor Corporation, All Rights Reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL DALLAS SEMICONDUCTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Except as contained in this notice, the name of Dallas Semiconductor shall not be used except as stated in the Dallas Semiconductor Branding Policy. --------------------------------------------------------------------------- ---------- install.sh file ------------------------------------------------ This originates from X11R5 (mit/util/scripts/install.sh), which was later released in X11R6 (xc/config/util/install.sh) with the following copyright and license. Copyright (C) 1994 X Consortium Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Except as contained in this notice, the name of the X Consortium shall not be used in advertising or otherwise to promote the sale, use or other deal- ings in this Software without prior written authorization from the X Consor- tium. FSF changes to this file are in the public domain. Calling this script install-sh is preferred over install.sh, to prevent `make' implicit rules from creating a file called install from it when there is no Makefile. This script is compatible with the BSD install script, but was written from scratch. ---------------------------------------------------------------------------- debian/sdcc-ucsim.manpages0000644000000000000000000000021412225023614012727 0ustar debian/manpages/s51.1 debian/manpages/savr.1 debian/manpages/shc08.1 debian/manpages/sdcdb.1 debian/manpages/sz80.1 debian/manpages/ucsim.1 debian/sdcc-libraries.lintian-overrides0000644000000000000000000000033112225023614015426 0ustar # These files are binary files, but are in an arch-independent package # because they are compiled for a non Debian target processor arch-dependent-file-in-usr-share arch-independent-package-contains-binary-or-object debian/sdcc.manpages0000644000000000000000000000063212225023614011615 0ustar debian/manpages/asxxxx.1 debian/manpages/makebin.1 debian/manpages/packihx.1 debian/manpages/sdas6808.1 debian/manpages/sdas8051.1 debian/manpages/sdasgb.1 debian/manpages/sdasz80.1 debian/manpages/sdcc.1 debian/manpages/sdcclib.1 debian/manpages/sdcpp.1 debian/manpages/sdld.1 debian/manpages/sdld6808.1 debian/manpages/sdldgb.1 debian/manpages/sdldz80.1 debian/manpages/as2gbmap.1 debian/manpages/sdranlib.1 debian/gbp.conf0000644000000000000000000000231612225023614010604 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] # the default build command: #builder = debuild -i\.git/ -I.git # the default clean command: #cleaner = debuild clean # the default branch for upstream sources: upstream-branch = upstream # the default branch for the debian patch: debian-branch = master # the default tag formats used: #upstream-tag = upstream/%(version)s #debian-tag = debian/%(version)s # use pristine-tar: pristine-tar = True # Options only affecting git-buildpackage [git-buildpackage] #upstream-branch = dfsgclean # uncomment this to automatically GPG sign tags #sign-tags = True # keyid to GPG sign tags with #keyid = 0xdeadbeef # push to a remote repository after a successful tag: #posttag = git-push git.example.com # use this for more svn-buildpackage like behaviour: export-dir = ../build-area/sdcc/ #tarball-dir = ../tarballs/ # Options only affecting git-import-orig [git-import-orig] #upstream-branch = newupstream #debian-branch = dfsgclean #filter = .svn # Options only affecting git-import-dsc [git-import-dsc] #upstream-branch = svn-upstream #filter = [ 'CVS', '.cvsignore' ] # Options only affecting git-dch [git-dch] #git-log = --no-merges #snapshot-number = snapshot + 1 debian/sdcc.install0000644000000000000000000000040412225023613011464 0ustar usr/bin/as2gbmap usr/bin/sdranlib usr/bin/makebin usr/bin/packihx usr/bin/sdas6808 usr/bin/sdas8051 usr/bin/sdasgb usr/bin/sdasz80 usr/bin/sdcc usr/bin/sdcclib usr/bin/sdcpp usr/bin/sdld usr/bin/sdld6808 usr/bin/sdldgb usr/bin/sdldz80 usr/share/sdcc/scripts debian/sdcc-libraries.install0000644000000000000000000000005412225023614013440 0ustar usr/share/sdcc/include/ usr/share/sdcc/lib/ debian/changelog0000644000000000000000000004351212260251336011045 0ustar sdcc (3.3.0+dfsg-1ubuntu1) trusty; urgency=low * Merge from Debian unstable. Remaining changes: - Remove build-indep from build target. Add it as a requisite of the install-indep target. -- Bhavani Shankar Mon, 30 Dec 2013 16:26:17 +0530 sdcc (3.3.0+dfsg-1) unstable; urgency=low * New upstream release (Closes: #422599, #671631, #724192) * Remove patch 02_fix_spelling. Fixed in upstream. * Update patch 01_disable_non-free * Bump compat to 9 * Bump standards version to 3.9.4 * Add dependency on dpkg-dev (>= 1.16.1~) * Add hardening buildflags to debian rules * Adding files to remove to clean target * Change dephelper dependency to 9 * Add hardening wrapper * Add more scripts from support/scripts to package * Replace texlive-full dependency by a smaller dependency -- Gudjon I. Gudjonsson Wed, 02 Oct 2013 16:00:58 +0200 sdcc (3.1.0+dfsg-1ubuntu1) quantal; urgency=low * Remove build-indep from build target. Add it as a requisite of the install-indep target. This will keep it from being built on binary-arch builds, but still work on full builds. Not ideal, but it will suffice so that slow buildd's wont have to install all of lyx and tex just to churn out a small binary. -- Ben Collins Wed, 13 Jun 2012 23:27:54 -0400 sdcc (3.1.0+dfsg-1) unstable; urgency=low * New upstream release (Closes: #647036) * Switch to dpkg-source 3.0 (quilt) format * Remove lk_readnl fix from rules file * Bump standards version to 3.9.3 * Change Conflicts to Breaks in control file * Suggest python for sdcc * Add arch-dependent-file-in-usr-share to overrides file * Add recommended target build arch (Closes: #459877) * Fix whatis entry for as2xxxx.1 manpage * Add manpage for as2gbmap * Add a get-orig-source target to rules file * Exclude non-free sources from source package (Closes: #597933) * Add +dfsg to source package name * Add version mangling to watch file * Add Vcs fields * Change all references to asranlib to sdranlib * Remove patches 01_fix_getline 02_result_type_gptr 03_fix_cmdlex * Remove sim/ucsim/libltdl in get-orig-source * Remove patch 04_libtool_fix * Rename other patches from 05, 06 to 01, 02 * Add GPL+LE to copyright file * Fix sdcc manpage (Closes: #658188) * Bump compat to 8 * Add build dependency on libboost-dev * Change texlive dependency to texlive-full. I clould not find minimum set of texlive packages needed to compile the package. * Remove go.bat from sdcc-doc * Add Build-Depends-Indep field (Thanks to Aron Xu) * Fix build/install arch/indep (Thanks to Aron Xu) * Fix lintian override file * Fix cleaning of .asm files, too many were removed -- Gudjon I. Gudjonsson Mon, 04 Jun 2012 09:29:53 +0000 sdcc (2.9.0+dfsg-1) unstable; urgency=low * Remove all pic header and library files (Closes: #597933) * Add patch 05_exclude_pic_lib * Bump standards version to 3.9.1 * Switch to dpkg-source 3.0 (quilt) format * Remove Conflicts: sdcc (<= 2.3.3+cvs20030131-4) * Remove Conflicts: sdcc (<< 2.3.8+cvs20040218-1) * Change hypen to minus in ucsim.1 * Add description to all patches * Fixed watch file -- Gudjon I. Gudjonsson Fri, 17 Dec 2010 07:42:20 +0100 sdcc (2.9.0-5) unstable; urgency=low * Add patch 03_fix_cmdlex to fix compilation (Closes: #560520) * Add patch 04_libtool_fix to fix CVE-2009-3736 local privilege escalation After patching, ltld.c is equal to the ltld.c file in libtool 2.2.6B (Closes: #559840) * Add README.source file -- Gudjon I. Gudjonsson Sat, 09 Jan 2010 05:47:41 +0100 sdcc (2.9.0-4) unstable; urgency=low * Add patch 01_fix_ftbs (Closes: #552867) * Bump standards version to 3.8.3, no changes needed * Remove bashism from debian scripts (Closes: #535420) * Add README.source file * Add patch 02_result_type_gptr * Add dependency on quilt -- Gudjon I. Gudjonsson Sat, 14 Nov 2009 18:22:59 +0100 sdcc (2.9.0-3) unstable; urgency=low * patch from Keith Packard to promote varargs pointers to RESULT_TYPE_GPTR, accepted by upstream for 2.9.1 -- Bdale Garbee Sun, 09 Aug 2009 15:00:31 -0600 sdcc (2.9.0-2) unstable; urgency=low * Add conflict to sdcc-libraries (<<2.9.0) (Closes: #524864) -- Gudjon I. Gudjonsson Sun, 03 May 2009 22:31:16 +0200 sdcc (2.9.0-1) unstable; urgency=low [ Bdale Garbee ] * new upstream version, with assemblers re-licensed under GPL version 3 or later, allowing the full SDCC package to return to Debian main! * update debian/copyright to more accurately reflect the set of copyright holders, and in light of the assemblers now being GPL v3 or later. * stop building html docs again since latex2html is non-free [ Gudjon I. Gudjonsson ] * Move manpages to debian/manpages * Edit the copyright file * Remove references to html doc from sdcc-doc.doc-base * Remove XS-Autobuild field * Bump standards version to 3.8.1, no changes needed * Add fields to install and remove postscript documentation * Add some perl scripts to sdcc package * Add examples to sdcc-doc * Add a lot to the clean target in rules. Will be sent to upstream * Add watch file -- Bdale Garbee Thu, 09 Apr 2009 14:14:27 -0700 sdcc-nf (2.8.0-1) unstable; urgency=low [ Bdale Garbee ] * new upstream version * add Bdale as a co-maintainer [ Gudjon I. Gudjonsson ] * Renamed the packages. A DFSG version of the packages have been made and put into main, this non-free version has therefore the name extension -nf on all packages. * This version conflicts and provides the corresponding DFSG version. * Bumped the Debian policy standard version to 3.7.3. No changes needed. * Added a "XS-Autobuild: yes" field to the control file. * Removed the p89c66x.h file since it is included in upstream now. * Fixed some lintian warnings from doc-base file. * A new upstream version. (Closes: #474090) -- Gudjon I. Gudjonsson Thu, 24 Apr 2008 13:52:02 +0000 sdcc (2.7.0-1) unstable; urgency=low [ Miriam Ruiz ] * New Upstream Version. * New Maintainer. Closes: #393289 * Updated Build-Depends: + Added: autotools-dev to get the newest config.sub and config.guess + Added: autoconf, automake, libtool + Replaced lyx-qt by lyx * Cleaned debian/rules a bit * Use config.sub and config.guess from autotools-dev [ Gudjon I. Gudjonsson ] * New upstream version (Closes: #440380) * Replaced lyx-xforms (Closes: #444558) * Upgraded install targets for the new version. * Added the p89c66x.h header file. Will be included in 2.7.1 * Added the copyright clause for ASxxxx into copyright. * Moved package to non-free because of ASxxxx license. * Added html documentation again since the package is in non-free. * Removed the pdf documentation * Cleaned the rules file [ Bas Wijnen ] * Regenerate configure as part of build process. * Don't ignore errors in clean target. [ Gudjon I. Gudjonsson ] * Fixed the non stripping options (Closes: #438018) * Changed dependencies from tetex to texlive. * Removed gs dependencies as they were not necessary. -- Gudjon I. Gudjonsson Tue, 16 Oct 2007 11:25:54 +0200 sdcc (2.6.0-5) unstable; urgency=low * Orphaning this package, setting maintainer field to packages@qa.debian.org. * Make the package binNMUable. -- Aurelien Jarno Sun, 15 Oct 2006 15:37:46 +0200 sdcc (2.6.0-4) unstable; urgency=low * Create a directory in the build tree, and set it as the HOME directory. That should fix the FTBFS on some build daemons. -- Aurelien Jarno Wed, 16 Aug 2006 12:31:38 +0200 sdcc (2.6.0-3) unstable; urgency=low * Remove the lyx workaround now that the bug has been fixed (closes: bug#381913). * Bumped build-dependency on lyx to (>= 1.4.2-4). -- Aurelien Jarno Fri, 11 Aug 2006 22:52:27 +0200 sdcc (2.6.0-2) unstable; urgency=medium * Fix the FTBFS by workarounding the lyx bug. -- Aurelien Jarno Mon, 7 Aug 2006 18:21:56 +0200 sdcc (2.6.0-1) unstable; urgency=low * New upstream release: - bool datatype support for z80 target (closes: bug#325846) - support for code segments in memory for pic target (closes: bug#359675) - support for almost all PIC (closes: bug#361229) - support for tables for pic target (closes: bug#304320) - support for main() to be in any object when linking (closes: bug#335711) * Bumped Standards-Version to 3.7.2 (no changes). -- Aurelien Jarno Thu, 3 Aug 2006 17:04:44 +0200 sdcc (2.5.0-11) unstable; urgency=low * g++ 4.1 fixes. Thanks to Martin Michlmayr for the patch (closes: bug#357476). -- Aurelien Jarno Sat, 18 Mar 2006 10:52:19 +0100 sdcc (2.5.0-10) unstable; urgency=low * Fixed pic16f877.h (closes: bug#339993). -- Aurelien Jarno Sat, 3 Dec 2005 02:14:15 +0100 sdcc (2.5.0-9) unstable; urgency=low * lyx-{xforms,qt} don't setup the lyx alternative anymore, build-depends on lyx-xforms and call /usr/bin/lyx-xforms. -- Aurelien Jarno Sat, 19 Nov 2005 19:41:31 +0100 sdcc (2.5.0-8) unstable; urgency=low * The "I hope I won't break everything" release. * It's seems the .asm files are useless, at least from some targets Let's try to remove them (closes: bug#325848). -- Aurelien Jarno Thu, 1 Sep 2005 15:32:50 +0200 sdcc (2.5.0-7) unstable; urgency=low * Don't delete .o files, it seems they are need by at least the pic16 target (closes: bug#324047). -- Aurelien Jarno Sun, 21 Aug 2005 01:25:34 +0200 sdcc (2.5.0-6) unstable; urgency=low * Move gputils to Build-Depends-Indep to Build-Depends. -- Aurelien Jarno Sat, 20 Aug 2005 16:37:59 +0200 sdcc (2.5.0-5) unstable; urgency=low * Enabled pic16 support (closes: bug#324047). -- Aurelien Jarno Sat, 20 Aug 2005 10:37:53 +0200 sdcc (2.5.0-4) unstable; urgency=low * Added pic14 .h files (closes: bug#308623). * Added inc2h.pl and keil2sdcc.pl to the sdcc-libraries package. -- Aurelien Jarno Thu, 11 Aug 2005 11:06:53 +0200 sdcc (2.5.0-3) unstable; urgency=low * C++ ABI transition. -- Aurelien Jarno Wed, 6 Jul 2005 01:02:20 +0200 sdcc (2.5.0-2) unstable; urgency=low * Fix building for binary-only builds. -- Aurelien Jarno Mon, 20 Jun 2005 19:53:20 +0200 sdcc (2.5.0-1) unstable; urgency=low * New upstream version. - Support for bool datatype and abs() function has been added (closes: bug#300293). - PIC files are now included (closes: bug#308623). * Fixed the generation of PIC14 .asm file when a string constant contains "\r\n" (closes: bug#304015). -- Aurelien Jarno Sun, 19 Jun 2005 20:01:09 +0200 sdcc (2.4.0-4) unstable; urgency=low * Also install sdcclib (closes: bug#298313). -- Aurelien Jarno Sun, 6 Mar 2005 23:07:22 +0100 sdcc (2.4.0-3) unstable; urgency=low * Fixed FTBFS with gcc-3.4. Thanks to Andreas Jochens for the patch (closes: bug#280878). -- Aurelien Jarno Wed, 1 Dec 2004 19:07:17 +0100 sdcc (2.4.0-2) unstable; urgency=low * Fixed debian/rules to not build documentation on binary-only target. -- Aurelien Jarno Wed, 3 Mar 2004 23:04:37 +0100 sdcc (2.4.0-1) unstable; urgency=low * New upstream version. -- Aurelien Jarno Thu, 26 Feb 2004 12:36:01 +0100 sdcc (2.3.8+cvs20040218-1) unstable; urgency=low * New CVS version. - Fix build error with the TININative target (closes: bug#233277). * Split out libraries in a separate package (closes: bug#233440). -- Aurelien Jarno Wed, 18 Feb 2004 18:10:27 +0100 sdcc (2.3.5+cvs20031021-2) unstable; urgency=low * Switched from LaTeX2HTML to HeVeA to generate the documentation (closes: bug#221349). -- Aurelien Jarno Wed, 19 Nov 2003 21:33:06 +0100 sdcc (2.3.5+cvs20031021-1) unstable; urgency=low * New CVS version. * Build back against flex (instead of flex-old) as flex (>= 2.5.31) support have been re-added. * Updated Policy standard compliance to 3.6.1 (no changes). -- Aurelien Jarno Tue, 21 Oct 2003 11:47:08 +0200 sdcc (2.3.5+cvs20031017-1) unstable; urgency=low * New CVS version: - Fix possible data loss in az-80 (closes: bug#216219). * Built against flex-old as the upstream authors have removed the modifications done to support flex (>= 2.5.31). -- Aurelien Jarno Sat, 18 Oct 2003 14:28:18 +0200 sdcc (2.3.5+cvs20030901-1) unstable; urgency=low * New CVS version. -- Aurelien Jarno Mon, 1 Sep 2003 18:55:05 +0200 sdcc (2.3.5+cvs20030727-1) unstable; urgency=low * New CVS version. * Build-Depends on g++-3.2 (>= 3.2.3-7) on Sparc. I hope it would build correctly now. * Updated Policy standard compliance to 3.6.0. -- Aurelien Jarno Sun, 27 Jul 2003 21:32:47 +0200 sdcc (2.3.5+cvs20030710-1) unstable; urgency=low * New CVS version. * Updated manpages (closes: bug#200762). -- Aurelien Jarno Thu, 10 Jul 2003 22:00:52 +0200 sdcc (2.3.5+cvs20030704-1) unstable; urgency=low * New CVS version. * Added patch from Nick Craig-Wood to a bug in the vprintf library implementation. -- Aurelien Jarno Sat, 5 Jul 2003 00:01:25 +0200 sdcc (2.3.5+cvs20030624-1) unstable; urgency=low * New version from CVS. -- Aurelien Jarno Tue, 24 Jun 2003 09:31:10 +0200 sdcc (2.3.5+cvs20030521-2) unstable; urgency=low * Corrected path to the documentation in the manpages. * Also provide doc for aslink (closes: bug#198376). -- Aurelien Jarno Mon, 23 Jun 2003 00:08:17 +0200 sdcc (2.3.5+cvs20030521-1) unstable; urgency=low * Version 2.3.5 from CVS. * Updated Policy standard compliance to 3.5.10. * Split out documentation into sdcc-doc package. For the ftp-master: 1. the documentation is built from LyX files and could take very long time to build on slowest architectures ; 2. the size of the unpacked documentation is 964 kB. -- Aurelien Jarno Wed, 21 May 2003 01:24:18 +0200 sdcc (2.3.3+cvs20030131-4) unstable; urgency=low * Fixed SDCC.lex to make it usable with the new flex (closes: bug#191200). -- Aurelien Jarno Wed, 14 May 2003 02:11:53 +0200 sdcc (2.3.3+cvs20030131-3) unstable; urgency=low * More fixes for 64-bit archs. * Depends on ${misc:Depends}. * Uses debian/compat instead of DH_COMPAT. * Uses dh_install instead of dh_movefiles. -- Aurelien Jarno Wed, 5 Mar 2003 00:21:49 +0100 sdcc (2.3.3+cvs20030131-2) unstable; urgency=low * Fixed an optimization on 64-bit platforms (closes: bug#182457). -- Aurelien Jarno Sat, 1 Mar 2003 00:46:26 +0100 sdcc (2.3.3+cvs20030131-1) unstable; urgency=low * Version 2.3.3 from CVS as the authors advice to use. -- Aurelien Jarno Tue, 25 Feb 2003 10:55:57 +0100 sdcc (2.3.0-13) unstable; urgency=low * Rebuilt with gcc-3.2. -- Aurelien Jarno Wed, 8 Jan 2003 00:22:40 +0100 sdcc (2.3.0-12) unstable; urgency=low * Fixed some errors in src/SDCC.y (closes: bug#166598). * Updated Policy standard compliance to 3.5.7 -- Aurelien Jarno Mon, 28 Oct 2002 15:58:31 +0100 sdcc (2.3.0-11) unstable; urgency=low * Fixed case sensitivity in the assembler. Thanks to Adam Majer for noticing the problem. (closes: Bug#151032) -- Aurelien Jarno Fri, 5 Jul 2002 02:27:25 +0200 sdcc (2.3.0-10) unstable; urgency=low * Fixed description. (closes: Bug#142390) -- Aurelien Jarno Thu, 11 Apr 2002 18:15:34 +0200 sdcc (2.3.0-9) unstable; urgency=low * Changed my maintainer e-mail address to . :) -- Aurelien Jarno Mon, 18 Mar 2002 21:42:09 +0100 sdcc (2.3.0-8) unstable; urgency=low * Improved man pages. (closes: Bug#135044, Bug#135095) -- Aurelien Jarno Thu, 21 Feb 2002 16:33:27 +0100 sdcc (2.3.0-7) unstable; urgency=low * Added "-fdollars-in-identifiers" to Makefile, so gcc will compile uCsim on arm architecture. (closes: Bug#131605) -- Aurelien Jarno Thu, 31 Jan 2002 21:47:59 +0100 sdcc (2.3.0-6) unstable; urgency=low * Added Build-Depends. (closes: Bug#130655) -- Aurelien Jarno Thu, 24 Jan 2002 15:09:47 +0100 sdcc (2.3.0-5) unstable; urgency=low * Initial Debian upload. (closes: #129651) -- Aurelien Jarno Sat, 19 Jan 2002 14:45:01 +0100 sdcc (2.3.0-4) unstable; urgency=low * Changed the description (redundancy and typos) as suggested by Andreas Bombe . * Moved debugger to sdcc-ucsim as it can only be used with a simulator. Also suggested by Andreas. -- Aurelien Jarno Thu, 17 Jan 2002 16:14:23 +0100 sdcc (2.3.0-3) unstable; urgency=low * Merged sdcc-doc with sdcc and sdcc-ucsim * Documentation is now registered with install-docs. * Create sdccman.css and test_suite_spec.css since they are not include in the upstream file. * INSTALL.TXT removed from documentation. -- Aurelien Jarno Fri, 14 Dec 2001 20:18:07 +0100 sdcc (2.3.0-2) unstable; urgency=low * Now use realclean instead of clean. -- Aurelien Jarno Tue, 11 Dec 2001 16:00:07 +0100 sdcc (2.3.0-1) unstable; urgency=low * Initial Release. -- Aurelien Jarno Sat, 01 Dec 2001 17:42:52 +0100 debian/sdcc-ucsim.install0000644000000000000000000000042412225023613012604 0ustar usr/bin/s51 usr/bin/savr usr/bin/shc08 usr/bin/sdcdb usr/bin/sz80 usr/bin/*.el usr/share/emacs/site-lisp/sdcc-ucsim/ usr/share/doc/ucsim/*.html usr/share/doc/sdcc-ucsim/ usr/share/doc/ucsim/*.gif usr/share/doc/sdcc-ucsim/ usr/share/doc/ucsim/*.jpg usr/share/doc/sdcc-ucsim/ debian/manpages/0000755000000000000000000000000012225023632010756 5ustar debian/manpages/sdcc.10000644000000000000000000004100712225023614011756 0ustar .TH SDCC 1 .SH NAME sdcc \- Small Device C Compiler .SH SYNOPSIS .B sdcc .I "[options] filename" .SH WARNING The information in this man page is an extract from the full documentation of SDCC, and is limited to the meaning of the options. .PP For complete and current documentation, refer to the .B SDCC Compiler User Guide\c \&. .SH "DESCRIPTION" .B SDCC is free open source, retargettable, optimizing ANSI-C compiler designed for 8 bit Microprocessors. The current version targets Intel MCS51 based Microprocessors (8031, 8032, 8051, 8052, etc.), Dallas DS80C390 variants, Freescale (formerly Motorola) HC08 and Zilog Z80 based MCUs (z80, z180, gbz80, Rabbit 2000/3000). It can be retargeted for other microprocessors, support for Microchip PIC is under development. .B SDCC uses a modified version of ASXXXX & ASLINK, free open source retargetable assembler & linker. .B SDCC has extensive language extensions suitable for utilizing various microcontrollers and underlying hardware effectively. .PP .B SDCC\c \& uses .B ASXXXX\c \& & .B ASLINK\c \&, a Freeware, retargettable assembler & linker. .B SDCC\c \& has extensive language extensions suitable for utilizing various microcontrollers and underlying hardware effectively. .PP The compiler also allows inline assembler code to be embedded anywhere in a function. In addition, routines developed in assembly can also be called. .SH PROCESSOR SELECTION OPTIONS .TP .BI "\-mmcs51" Generate code for the MCS51 (8051) family of processors. This is the default processor target. .TP .BI "\-mds390" Generate code for the DS80C390 processor. .TP .BI "\-mds400" Generate code for the DS80C400 processor. .TP .BI "\-mz80" Generate code for the Z80 family of processors. .TP .BI "\-mhc08" Generate code for the GameBoy Z80 processor. .TP .BI "\-mz80" Generate code for the Zilog Z80 family of processors. .TP .BI "\-mz180" Generate code for the Zilog Z180 family of processors. .TP .BI "\-mr2k" Generate code for the Rabbit 2000 / Rabbit 3000 family of processors.-mavr" .TP .BI "\-mgbz80" Generate code for the GameBoy Z80 processor (Not actively maintained). .TP .BI "\-mpic14" Generate code for the Microchip PIC 14-bit processors (p16f84 and variants. In development, not complete). .TP .BI "\-mpic16" Generate code for the Microchip PIC 16-bit processors (p18f452 and variants. In development, not complete). .TP .BI "\-mtlcs900h" Generate code for the Toshiba TLCS-900H processor (Not maintained, not complete). .TP .BI "\-mxa51" Generate code for the Phillips XA51 processor (Not maintained, not complete). .SH PREPROCESSOR OPTIONS .TP .BI "\-I" "" The additional location where the pre processor will look for `<..h>' or `..h' files. .TP .BI "\-D " "" Command line definition of macros. Passed to the pre processor. .TP .BI "\-M" Tell the preprocessor to output a rule suitable for make describing the dependencies of each object file. For each source file, the preprocessor outputs one make-rule whose target is the object file name for that source file and whose dependencies are all the files `#include'd in it. This rule may be a single line or may be continued with `\\'\-newline if it is long. The list of rules is printed on standard output instead of the preprocessed C program. .B `-M'\c \& implies .B `-E'\c \&. .TP .BI "-C" Tell the preprocessor not to discard comments. Used with the .B `-E' option. .TP .BI "\-MM" Like .B `-M'\c \& but the output mentions only the user header files included with `#include "file"'. System header files included with `#include ' are omitted. .TP .BI "\-A " "question(answer)" Assert the answer answer for question, in case it is tested with a preprocessor conditional such as `#if #question(answer)'. .B `-A-'\c \& disables the standard assertions that normally describe the target machine. .TP .BI "\-A " "question" (answer) Assert the answer answer for question, in case it is tested with a preprocessor conditional such as `#if #question(answer)'. .B `-A-'\c \& disables the standard assertions that normally describe the target machine. .TP .BI "-Umacro" Undefine macro macro. .B `-U'\c \& options are evaluated after all .B `-D'\c \& options, but before any .B `-include'\c \& and .B `-imacros'\c \& options. .TP .BI "\-dM" Tell the preprocessor to output only a list of the macro definitions that are in effect at the end of preprocessing. Used with the .B '-E'\c \& option. .TP .BI "\-dD" Tell the preprocessor to pass all macro definitions into the output, in their proper sequence in the rest of the output. .TP .BI "\-dN" Like .B `-dD'\c \&except that the macro arguments and contents are omitted. Only `#define name' is included in the output. .SH LINKER OPTIONS .TP .BI "\-L, \-lib\-path" "" This option is passed to the linkage editor's additional libraries search path. The path name must be absolute. Additional library files may be specified in the command line. See section Compiling programs for more details. .TP .BI "\-\-xram-loc " "" The start location of the external ram, default value is 0. The value entered can be in Hexadecimal or Decimal format, e.g.: .B --xram-loc 0x8000\c \& or .B --xram-loc 32768\c \&. .TP .BI "\-\-code-loc " "" The start location of the code segment, default value 0. Note when this option is used the interrupt vector table is also relocated to the given address. The value entered can be in Hexadecimal or Decimal format, e.g.: .B --code-loc 0x8000\c \& or .B --code-loc 32768\c \&. .TP .BI "\-\-stack-loc " "" The initial value of the stack pointer. The default value of the stack pointer is .B 0x07\c \& if only register bank 0 is used, if other register banks are used then the stack pointer is initialized to the location above the highest register bank used. eg. if register banks 1 & 2 are used the stack pointer will default to location .B 0x18\c \&. The value entered can be in Hexadecimal or Decimal format, eg. .B --stack-loc 0x20 or .B --stack-loc 32\c \&. If all four register banks are used the stack will be placed after the data segment (equivalent to .B --stack-after-data\c \&) .TP .BI "\-\-stack-after-data" This option will cause the stack to be located in the internal ram after the data segment. .TP .BI "\-\-data-loc " "" The start location of the internal ram data segment, the default value is .B 0x30\c \&. The value entered can be in Hexadecimal or Decimal format, eg. .B --data-loc 0x20\c \& or .B --data-loc 32\c \&. .TP .BI "--idata-loc " "" The start location of the indirectly addressable internal ram, default value is .B 0x80\c \&. The value entered can be in Hexadecimal or Decimal format, eg. .B --idata-loc 0x88\c \& or .B --idata-loc 136\c \&. .TP .BI "\-\-out\-fmt\-ihx" The linker output (final object code) is in Intel Hex format. (This is the default option). .TP .BI "\-\-out\-fmt\-s19" The linker output (final object code) is in Motorola S19 format. .SH MCS51 OPTIONS .TP .BI "\-\-model\-large" Generate code for Large model programs see section Memory Models for more details. If this option is used all source files in the project should be compiled with this option. In addition the standard library routines are compiled with small model, they will need to be recompiled. .TP .BI "\-\-model\-small" Generate code for Small Model programs see section Memory Models for more details. This is the default model. .SH DS390 / DS400 OPTIONS .TP .BI "\-\-model\-flat24" Generate 24-bit flat mode code. This is the one and only that the ds390 code generator supports right now and is default when using .B -mds390\c \&. .TP .BI "\-\-protect\-sp\-update" Disable interrupts during ESP:SP updates. .TP .BI "\_-\-stack\-10bit" Generate code for the 10 bit stack mode of the Dallas DS80C390 part. This is the one and only that the ds390 code generator supports right now and is default when using .B -mds390\c \&. In this mode, the stack is located in the lower 1K of the internal RAM, which is mapped to .B 0x400000 \&. Note that the support is incomplete, since it still uses a single byte as the stack pointer. This means that only the lower 256 bytes of the potential 1K stack space will actually be used. However, this does allow you to reclaim the precious 256 bytes of low RAM for use for the DATA and IDATA segments. The compiler will not generate any code to put the processor into 10 bit stack mode. It is important to ensure that the processor is in this mode before calling any re-entrant functions compiled with this option. In principle, this should work with the .B --stack-auto option\c \&, but that has not been tested. It is incompatible with the .B --xstack\c \& option. It also only makes sense if the processor is in 24 bit contiguous addressing mode (see the .B --model-flat24\c \& option). .SH Z80 Options .TP .BI "\-\-callee\-saves\-bc" Force a called function to always save BC. .TP .BI "\-\-no\-std\-crt0" When linking, skip the standard crt0.o object file. You must provide your own crt0.o for your system when linking. .SH OPTIMIZATIONS OPTIONS .TP .BI "\-\-nogcse" Will not do global subexpression elimination, this option may be used when the compiler creates undesirably large stack/data spaces to store compiler temporaries. A warning message will be generated when this happens and the compiler will indicate the number of extra bytes it allocated. It recommended that this option NOT be used, .B #pragma NOGCSE\c \& can be used to turn off global subexpression elimination for a given function only. .TP .BI "\-\-noinvariant" Will not do loop invariant optimizations, this may be turned off for reasons explained for the previous option. For more details of loop optimizations performed see section Loop Invariants.It recommended that this option NOT be used, .B #pragma NOINVARIANT\c \& can be used to turn off invariant optimizations for a given function only. .TP .BI "\-\-noinduction" Will not do loop induction optimizations, see section strength reduction for more details. It is recommended that this option is NOT used, .B #pragma NOINDUCTION\c \& can be used to turn off induction optimizations for a given function only. .TP .BI "\-\-nojtbound" Will not generate boundary condition check when switch statements are implemented using jump-tables. It is recommended that this option is NOT used, .B #pragma NOJTBOUND\c \& can be used to turn off boundary checking for jump tables for a given function only. .TP .BI "\-\-noloopreverse" Will not do loop reversal optimization. .SH OTHER OPTIONS .TP .BI "\-c, \-\-compile\-only" will compile and assemble the source, but will not call the linkage editor. .TP .BI "\-E" Run only the C preprocessor. Preprocess all the C source files specified and output the results to standard output. .TP .BI "\-\-stack-auto" All functions in the source file will be compiled as reentrant, i.e. the parameters and local variables will be allocated on the stack. If this option is used all source files in the project should be compiled with this option. .TP .BI "\-\-xstack" Uses a pseudo stack in the first 256 bytes in the external ram for allocating variables and passing parameters. .TP .BI "\-\-callee-saves " "function1[,function2][,function3]...." The compiler by default uses a caller saves convention for register saving across function calls, however this can cause unneccessary register pushing & popping when calling small functions from larger functions. This option can be used to switch the register saving convention for the function names specified. The compiler will not save registers when calling these functions, no extra code will be generated at the entry & exit for these functions to save & restore the registers used by these functions, this can .I SUBSTANTIALLY\c \& reduce code & improve run time performance of the generated code. In the future the compiler (with interprocedural analysis) will be able to determine the appropriate scheme to use for each function call. .I DO NOT\c \& use this option for built-in functions such as .B _muluint\c \&..., if this option is used for a library function the appropriate library function needs to be recompiled with the same option. If the project consists of multiple source files then all the source file should be compiled with the same .B --callee-saves\c \& option string. .TP .BI "\-\-debug" When this option is used the compiler will generate debug information, that can be used with the .B SDCDB\c \&. The debug information is collected in a file with .cdb extension. .TP .BI "\-\-regextend" This option is obsolete and isn't supported anymore. .TP .BI "\-\-noregparms" This option is obsolete and isn't supported anymore. .TP .BI "\-\-peep-file" " This option can be used to use additional rules to be used by the peep hole optimizer. .TP .BI "\-S" Stop after the stage of compilation proper; do not assemble. The output is an assembler code file for the input file specified. .TP .BI "\-Wa_" "asmOption[,asmOption]...]" Pass the asmOption to the assembler. .TP .BI "\-Wl_" "linkOption[,linkOption]...]" Pass the linkOption to the linker. .TP .BI "\-\-int-long-reent" Integer (16 bit) and long (32 bit) libraries have been compiled as reentrant. Note by default these libraries are compiled as non-reentrant. .TP .BI "\-\-cyclomatic" This option will cause the compiler to generate an information message for each function in the source file. The message contains some important information about the function. The number of edges and nodes the compiler detected in the control flow graph of the function, and most importantly the cyclomatic complexity. .TP .BI "\-\-float\-reent" Floating point library is compiled as reentrant. .TP .BI "\-\-nooverlay" The compiler will not overlay parameters and local variables of any function, see section Parameters and local variables for more details. .TP .BI "\-\-main\-return" This option can be used when the code generated is called by a monitor program. The compiler will generate a 'ret' upon return from the 'main' function. The default option is to lock up i.e. generate a 'ljmp '. .TP .BI "\-\-no\-peep" Disable peep-hole optimization. .TP .BI "\-\-peep\-asm" Pass the inline assembler code through the peep hole optimizer. This can cause unexpected changes to inline assembler code, please go through the peephole optimizer rules defined in the source file tree '/peeph.def' before using this option. .TP .BI "\-\-iram\-size " "" Causes the linker to check if the interal ram usage is within limits of the given value. .TP .BI "\-\-nostdincl" This will prevent the compiler from passing on the default include path to the preprocessor. .TP .BI "\-\-nostdlib" This will prevent the compiler from passing on the default library path to the linker. .TP .BI "\-\-verbose" Shows the various actions the compiler is performing. .TP .BI "\-V" Shows the actual commands the compiler is executing. .SH INTERMEDIATE DUMP OPTIONS The following options are provided for the purpose of retargetting and debugging the compiler. These provided a means to dump the intermediate code (iCode) generated by the compiler in human readable form at various stages of the compilation process. .TP .BI "\-\-dumpraw" This option will cause the compiler to dump the intermediate code into a file of named . .B dumpraw\c \& just after the intermediate code has been generated for a function, i.e. before any optimizations are done. The basic blocks at this stage ordered in the depth first number, so they may not be in sequence of execution. .TP .BI "\-\-dumpgcse" Will create a dump of iCode's, after global subexpression elimination, into a file named .dumpgcse. .TP .BI "\-\-dumpdeadcode" Will create a dump of iCode's, after deadcode elimination, into a file named .dumpdeadcode. .TP .BI "\-\-dumploop" Will create a dump of iCode's, after loop optimizations, into a file named .dumploop. .TP .BI "\-\-dumprange" Will create a dump of iCode's, after live range analysis, into a file named .dumprange. .TP .BI "\-\-dumlrange" Will dump the life ranges for all symbols. .TP .BI "\-\-dumpregassign" Will create a dump of iCode's, after register assignment, into a file named .dumprassgn. .TP .BI "\-\-dumplrange" Will create a dump of the live ranges of iTemp's .TP .BI "\-\-dumpall" Will cause all the above mentioned dumps to be created. .SH COPYING The entire source code for the compiler is distributed under GNU General Public License. .SH SEE ALSO sdcpp(1), asxxxx(1), aslink(1). .SH AUTHOR This manual page was written by Aurelien Jarno , for the Debian GNU/Linux system (but may be used by others). debian/manpages/sdranlib.10000644000000000000000000000165512225023614012645 0ustar .TH SDRANLIB "1" "November 2011" .SH NAME sdranlib \- Generate an index to speed access to archives .SH SYNOPSIS .B sdranlib .RI [ options ] " archive" ... .SH DESCRIPTION This manual page documents briefly the .B sdranlib command. .PP \fBsdranlib\fP generates an index to speed access to archives. It supports asxxx targets. .SH OPTIONS This program follow the usual GNU command line syntax, with long options starting with two dashes (`-'). For a complete description, see the Info files. .TP .B \-h, \-\-help Print help message .TP .B \-V, \-\-version Print program version .TP .B \-v, \-\-verbose Verbose output .TP .B \-t, \-\-list List the contents of an archive .TP .B \-s, \-\-print-armap Print the archive index .br .SH AUTHOR sdranlib was written by Borut Razem, . .PP This manual page was written by Gudjon I. Gudjonsson , for the Debian project (and may be used by others). debian/manpages/sdld.10000644000000000000000000000770212225023614011774 0ustar .TH ASLINK 1 .SH NAME SDLD \- companion linker for the ASxxxx assemblers. .SH SYNOPSIS .B sdld .I "[-Options] [-Option with arg] file" .br .B sdld .I "[-Options] [-Option with arg] outfile file1 [file2 ...]" .br .B sdldgb .I "[-Options] [-Option with arg] file" .br .B sdldgb .I "[-Options] [-Option with arg] outfile file1 [file2 ...]" .br .B sdldz80 .I "[-Options] [-Option with arg] file" .br .B sdldz80 .I "[-Options] [-Option with arg] outfile file1 [file2 ...]" .br .B sdld6808 .I "[-Options] [-Option with arg] file" .br .B sdld6808 .I "[-Options] [-Option with arg] outfile file1 [file2 ...]" .br .SH WARNING The information in this man page is an extract from the full documentation of .B SDCC\c \&, and is limited to the meaning of the options. .PP For complete and current documentation, refer to the .B ASxxxx Cross Assembler Documentation\c \&, available in /usr/share/doc/sdcc-doc/aslink. .SH "DESCRIPTION" The .B ASLINK\c \& is general relocating companion linker for the .B ASxxx\c \& assemblers. .PP .B MCS51\c \& family is supported by .B sdld\c \&. .br .B Z80\c \&family is supported by .B sdldz80\c \&. .br .B GBZ80\c \& (GameBoy Z80-like CPU) is supported by .B sdldgb\c \&. .br .B Motorola 6808\c \& family is supported by .B sdld6808\c \&. .SH OPTIONS The linker may run in the command line mode or command file modes. The allowed startup linker commands are: .TP .BI "\-c/\-f" command line / command file modes .TP .BI "\-p/\-n" enable/disable echo file.lnk input to stdout .PP If command line mode is selected, all linker commands come from stdin, if the command file mode is selected the commands are input from the specified file (extension must be .lnk). .PP After invoking the linker the valid options are: .B Libraries .TP .BI "-k " "library directory path" " (one definition per line)" This specifies one possible path to an object library. More than one path is allowed. .TP .BI "-l " "library file specification" " (one definition per line)" This specifies a possible library file. More than one file is allowed. .PP .B Relocation .TP .BI "-b " "area base address = expression" " (one definition per line)" This specifies an area base address where the expression may contain constants and/or defined symbols from the linked files. .TP .BI "-g " "global symbol = expression" " (one definition per line)" This specifies the value for the symbol where the expression may contain constants and/or defined symbols from the linked files. .PP .B Map format: .TP .BI "\-m" Generate a map file (file.map). This file contains a list of the symbols (by area) with absolute addresses, sizes of linked areas, and other linking information. .TP .BI "\-w" Specifies that a wide listing format be used for the map file. .TP .BI "\-x" Hexidecimal (default). .TP .BI "\-d" Decimal. .TP .BI "\-q" Octal. .PP .B Output: .TP .BI "\-i" Intel Hex (file.ihx) image output file. .TP .BI "\-s" Motorola S19 (file.s19) image output file. .TP .BI "\-j" Produce NoICE debug as file (file.noi) .TP .BI "\-z" Produce SDCdb debug as file (file.cdb). .PP .B Lists: .TP .BI "\-u" Generate an updated listing file (file.rst) derived from the relocated addresses and data from the linker. .PP .B Miscellaneous: .TP .BI "\-a" [iram-size] Check for internal RAM overflow. .TP .BI "\-v" [xram-size] Check for external RAM overflow. .TP .BI "\-w" [code-size] Check for code overflow. .TP .BI "\-y" Generate memory usage summary file (file.mem). .TP .BI "\-Y" Pack internal ram. .TP .BI "\-A" [stack-size] Allocate space for stack. .PP .B End: .TP .BI "-e " or null line, terminates input to the linker. .PP .TP .BI "fileN" Files to be linked. Files may be on the same line as the above options or on a separate line(s) one file per line or multiple files separated by spaces or tabs. .SH SEE ALSO sdcc(1), asxxxx(1), sdldz80(1), sdldgb(1), sdld6808(1). .SH AUTHOR This manual page was written by Aurelien Jarno , for the Debian GNU/Linux system (but may be used by others). debian/manpages/sdas8051.10000644000000000000000000000002212225023614012302 0ustar .so man1/asxxxx.1 debian/manpages/sdcclib.10000644000000000000000000000202112225023614012436 0ustar .TH SDCCLIB 1 .SH NAME sdcclib \- SDCC librarian .SH SYNOPSIS .B sdcclib .I " [-options] library relfile" .SH WARNING The information in this man page is an extract from the full documentation of SDCC, and is limited to the meaning of the options. .PP For complete and current documentation, refer to the .B SDCC Compiler User Guide\c \&. .SH DESCRIPTION sdcclib can be used to embed all the modules belonging to a library in the library file itself. This results in a larger library file, but it greatly reduces the number of disk files accessed by the linker. .SH OPTIONS .TP .B "\-a" Adds relfile to library. If relfile exists, replaces it. .TP .B "\-d" Deletes relfile from library. .TP .B "\-e" Extracts relfile from library. .TP .B "\-s" Dumps symbols of library. .TP .B "\-m" Dumps modules of library. .TP .B "\-v" Displays program version. .TP .B "\-h" Displays help. .SH SEE ALSO sdcc(1). .SH AUTHOR This manual page was written by Aurelien Jarno , for the Debian GNU/Linux system (but may be used by others). debian/manpages/s51.10000644000000000000000000000002112225023614011441 0ustar .so man1/ucsim.1 debian/manpages/sdcdb.10000644000000000000000000000460612225023614012125 0ustar .TH SDCDB 1 .SH NAME sdcdb \- Source debugger for SDCC .SH SYNOPSIS .B sdcdb [options] filename .SH WARNING The information in this man page is an extract from the full documentation of SDCC, and is limited to the meaning of the options. .PP For complete and current documentation, refer to the .B SDCC Compiler User Guide\c \&. .SH "DESCRIPTION" .B sdcdb\c \& is a source debugger for .B SDCC\c \&. It uses .B ucSim\c \& to execute the program, the program execution is controlled by the debugger. .PP The command interface for the debugger has been deliberately kept as close the GNU debugger gdb, as possible. This will help the integration with existing graphical user interfaces (like ddd, xxgdb or xemacs) existing for the GNU debugger. .SH STARTING THE DEBUGGER The debugger can be started using the following command line (Assume the file you are debugging has the file name foo): .PP .B sdcdb foo .PP The debugger will look for the following files: .PP .nf foo.c - the source file. foo.cdb - the debugger symbol information file. foo.ihx - the intel hex format object file. .fi .SH OPTIONS .TP .BI "\-directory=" "" This option can used to specify the directory search list. The debugger will look into the directory list specified for source, cdb & ihx files. The items in the directory list must be separated by ':', e.g. if the source files can be in the directories /home/src1 and /home/src2, the .B -directory\c \& option should be .B -directory=/home/src1:/home/src2\c \&. Note there can be no spaces in the option. .TP .BI "\-cd " "" Change to the . .TP .BI "\-fullname" Used by GUI front ends. .TP .BI "\-cpu " "" This argument is passed to the simulator. Please see the simulator docs for details. .TP .BI "\-X " "" This option is passed to the simulator. Please see the simulator docs for details. .TP .BI "\-s " "" This option is passed to simulator. Please see the simulator docs for details. .TP .BI "\-S " "" This argument is passed to simulator. Please see the simulator docs for details. .SH COPYING The entire source code for the debugger is distributed under GNU General Public License. .SH SEE ALSO sdcc(1), ucsim(1), s51(1), savr(1), sz80(1). .SH AUTHOR This manual page was written by Aurelien Jarno , for the Debian GNU/Linux system (but may be used by others). debian/manpages/makebin.10000644000000000000000000000130412225023614012444 0ustar .TH MAKEBIN 1 .SH NAME makebin \- convert a Intel IHX file to binary .SH SYNOPSIS .B makebin .I "[options] filename" .SH "DESCRIPTION" This manual page documents briefly the .BR makebin command. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. Instead, you can read the documentation in /usr/share/doc/sdcc-doc. .PP .B makebin convert a Intel IHX file to binary. .SH OPTIONS .TP .B \-h Show summary of options. .TP .B \-p Pack the file. .TP .BI \-s " romsize" Specify the size of the ROM. .SH AUTHOR This manual page was written by Aurelien Jarno , for the Debian GNU/Linux system (but may be used by others). debian/manpages/ucsim.10000644000000000000000000000763412225023614012172 0ustar .TH UCSIM 1 .SH NAME s51, savr, sz80 \- 8051, AVR and Z80 microcontrollers simulator for SDCC. .SH SYNOPSIS .B s51 .I "[options] filenames" .br .B savr .I "[options] filenames" .br .B sz80 .I "[options] filenames" .SH WARNING The information in this man page is an extract from the full documentation of .B SDCC\c \&, and is limited to the meaning of the options. .PP For complete and current documentation, refer to the .B ucSim simulator User Guide\c \&. .SH "DESCRIPTION" .B ucSim\c \& is a microcontroller simulator. It is extensible to support different microcontroller families. .PP .B MCS51\c \& family is simulated by\c .B s51\c \&. .br .B AVR\c \& family is simulated by .B savr\c \&. .br .B Z80\c \& processor is simulated by .B sz80\c \&. .PP Specified files must be names of Intel hex files. Simulator loads them in specified order into the ROM of the simulated system. .SH OPTIONS .TP .BI "\-t " "CPU" Type of CPU. Recognized types are: 51, 8051, 8751, C51, 80C51, 87C51, 31, 8031, C31, 80C31, 52, 8052, 8752, C52, 80C52, 87C52, 32, 8032, C32, 80C32, 51R, 51RA, 51RB, 51RC, C51R, C51RA, C51RB, C51RC, 89C51R, 251, C251, DS390, DS390F. Note that recongition of a CPU type as option does not mean that the simulator can simulate that kind of CPU. Default type is C51. DS390 supports Dallas DS80C390 dual-dptr operations, DS390F supports minimal flat24 mode code and dual-dptr operations. .TP .BI "\-X " "freq[k|M]" XTAL frequency is .I freq\c \& Hertz. .B k\c \& or .B M\c \& can be used to specify frequency in kHZ or MHz. Space is not allowed between the number and the .B k\c \& or .B M\c \&. Default value is 11059200 Hz. .TP .BI "\-c " "file" Open command console on .I file\c \&. Command consoles are on standard input and output by default. Using this option the console can be opened on any file for example on the serial interface of the computer. .TP .BI "\-Z " "portnum" Listen for incoming connections on port .I portnum\c \&. Using this option uCsim can serve multiple consoles. You can get a console by simply telnet into machine running .B uCsim\c \&to port .I portnumber\c \&. This option is not available on platforms which doesn't support BSD networking. .TP .BI "\-s " "file" Connect serial interface of the simulated microcontroller to the .I file\c \&. Nothing is used by default which means that characters transmitted by serial interface of the simulated microcontroller go to nowhere and it will never receive anything. If you are going to communicate with serial interface interactively the best idea is to specify a teminal with .B -s\c \& option. .TP .BI "-S " "in=file,out=file" Using this option you can specify different files for input and output streams that .B uCsim\c \& uses to simulate microprocessor's serial interface. .TP .BI "\-p prompt" Using this option you can specify any string to be the prompt of command interpreter, for example: .nf $ s51 \-p "s51> " ucsim 0.2.12, Copyright (C) 1997 Daniel Drotos, Talker Bt. ucsim comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. s51> .fi .TP .BI "\-P" Prompt will be a null ('\\0') character. This feature can be useful for programs which controlls simulator through a pipe. .TP .BI "\-V" Verbose mode. The simulator notifies you about some kind of internal actions for example interrupts. Messages are printed on command console. .TP .BI "\-v" Print out version number and stop. .TP .BI "\-H" Print out types of known CPUs. Names printed out by this option can be used to determine CPU type using \-t option. .TP .BI "\-h" Print out a short help about the options and stop. .SH COPYING ucSim is distributed under the GNU General Public License. .SH SEE ALSO sdcc(1), s51(1), savr(1), sz80(1). .SH AUTHOR This manual page was written by Aurelien Jarno , for the Debian GNU/Linux system (but may be used by others). debian/manpages/packihx.10000644000000000000000000000115112225023614012465 0ustar .TH PACKIHX 1 .SH NAME packihx \- A tool to pack Intel hex files for SDCC .SH SYNOPSIS .B packihx .SH "DESCRIPTION" This manual page documents briefly the .BR packihx command. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. Instead, you can read the documentation in /usr/share/doc/sdcc-doc. .PP .B SDCC is a Freeware, retargettable, optimizing ANSI-C compiler designed for 8 bit Microprocessors. .SH AUTHOR This manual page was written by Aurelien Jarno , for the Debian GNU/Linux system (but may be used by others). debian/manpages/as2gbmap.10000644000000000000000000000171512225023614012540 0ustar .TH AS2GBMAP "1" "November 2011" .SH NAME as2gbmap \- GameBoy binary image file format utility. .SH SYNOPSIS .B as2gbmap .RI [ options ] " files" ... .SH DESCRIPTION This manual page documents briefly the .B as2gbmap command. .PP \fBas2gbmap\fP generates GameBoy binary image file format, both rrgb map file format and no$gmb sym file format from the sdld linker. .SH OPTIONS The program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. For a complete description, see the Info files. .TP .B \-h, \-\-help Show summary of options. .TP .B \-\-version Show version of program. .TP .B \-j, --no$gmb Generate no$gmb symbol file (default:rrgb) .SH SEE ALSO .BR makebin (1), .BR sdld (1). .br .SH AUTHOR as2gbmap was written by Borut Razem . .PP This manual page was written by Gudjon I. Gudjonsson , for the Debian project (and may be used by others). debian/manpages/savr.10000644000000000000000000000002112225023614012004 0ustar .so man1/ucsim.1 debian/manpages/sdldgb.10000644000000000000000000000002212225023614012271 0ustar .so man1/aslink.1 debian/manpages/sdld6808.10000644000000000000000000000002212225023614012306 0ustar .so man1/aslink.1 debian/manpages/sz80.10000644000000000000000000000002112225023614011635 0ustar .so man1/ucsim.1 debian/manpages/asxxxx.10000644000000000000000000000565212225023614012413 0ustar .TH ASXXXX 1 .SH NAME ASxxxx \- Series of microprocessor cross assemblers for SDCC. .SH SYNOPSIS .B sdas8051 .I "[options] file1 [file2 file3 ... file6]" .br .B sdasgb .I "[options] file1 [file2 file3 ... file6]" .br .B sdasz80 .I "[options] file1 [file2 file3 ... file6]" .br .B sdas6808 .I "[options] file1 [file2 file3 ... file6]" .br .SH WARNING The information in this man page is an extract from the full documentation of .B SDCC\c \&, and is limited to the meaning of the options. .PP For complete and current documentation, refer to the .B ASxxxx Cross Assembler Documentation\c \&, available in /usr/share/doc/sdcc-doc/aslink. .SH "DESCRIPTION" The .B ASxxxx\c \& assemblers are a series of microprocessor assemblers. Each assembler has a device specific section. .PP .B MCS51\c \& family is supported by .B sdas8051\c \&. .br .B Z80\c \&family is supported by .B sdasz80\c \&. .br .B GBZ80\c \& (GameBoy Z80-like CPU) is supported by .B sdasgb\c \&. .br .B Motorola 6808\c \& family is supported by .B sdas6808\c \&. .SH OPTIONS The ASxxxx assemblers are command line oriented. The PC assemblers are started with the appropriate option(s) and file(s) to assemble following the assembler name. .TP .BI "\-d" decimal listing. .TP .BI "\-q" octal listing. .TP .BI "\-x" hex listing (default) .PP The listing radix affects the .lst, .rel, and .sym files. .TP .BI "\-j" add line number and debug information to file. .TP .BI "\-g" undefined symbols made global. .TP .BI "\-a" all user symbols made global. .TP .BI "\-l" create list output file1.lst. .TP .BI "\-o" create object output file1.rel. .TP .BI "\-s" create symbol output file1.sym. .TP .BI "\-c" generate sdcdb debug information .TP .BI "\-p" disable listing pagination. .TP .BI "\-w" wide listing format for symbol table. .TP .BI "\-z" enable case sensitivity for symbols. .TP .BI "\-f" flag relocatable references by ` in the listing file. .TP .BI "\-ff" flag relocatable reference by mode in the listing file. .TP .BI "\-I" add the named directory to the include file search path. This option may be used more than once. Directories are searched in the order given. .PP The file name for the .lst, .rel, and .sym files is the first file name specified in the command line. All output files are ascii text files which may be edited, copied, etc. The output files are the concatenation of all the input files, if files are to be assembled independently invoke the assembler for each file. .PP The .rel file contains a radix directive so that the linker will use the proper conversion for this file. Linked files may have different radices. .PP If the list .B (l)\c \& option is specified without the symbol table .B (s)\c \& option, the symbol table is placed at the end of the listing file. .SH SEE ALSO sdcc(1), aslink(1), asx8051, as-z80(1), as-gbz80(1). .SH AUTHOR This manual page was written by Aurelien Jarno , for the Debian GNU/Linux system (but may be used by others). debian/manpages/sdldz80.10000644000000000000000000000002212225023614012322 0ustar .so man1/aslink.1 debian/manpages/shc08.10000644000000000000000000000002112225023614011756 0ustar .so man1/ucsim.1 debian/manpages/sdcpp.10000644000000000000000000001155412225023614012157 0ustar .TH SDCPP 1 .SH NAME sdcpp \- C preprocessor for SDCC .SH SYNOPSIS .B sdcppold .I "[options] filename" .SH "DESCRIPTION" This manual page documents briefly the .BR sdccp command. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. Instead, you can read the documentation in /usr/share/doc/sdcc-doc. .PP .B SDCC is a Freeware, retargettable, optimizing ANSI-C compiler designed for 8 bit Microprocessors. .SH OPTIONS .TP .BI "\-include " "" Include the contents of .I \c \& before other files. .TP .BI "\-imacros " "" Accept definition of macros in .I \c \&. .TP .BI "\-iprefix " "" Specify .I \c \& as a prefix for next two options. .TP .BI "\-iwithprefix " "" Add .I \c \& to the end of the system include path. .TP .BI "\-iwithprefixbefore " "" Add .I \c \& to the end of the main include path. .TP .BI "\-isystem " "" Add .I \c \& to the start of the system include path. .TP .BI "\-idirafter " "" Add .I \c \& to the end of the system include path. .TP .BI "-I " "" Add .I \c \& to the end of the main include path. .TP .B "\-I\-" Fine-grained include path control; see info docs. .TP .B "\-nostdinc" Do not search system include directories (dirs specified with .B -isystem\c \& will still be used). .TP .B "\-nostdinc++" Do not search system include directories for C++. .TP .BI "-o " "" Put output into .I \c \&. .TP .B "\-pedantic" Issue all warnings demanded by strict ISO C. .TP .B "\-pedantic-errors" Issue .I \-pedantic\c \& warnings as errors instead. .TP .B "\-trigraphs" Support ISO C trigraphs. .TP .B "\-lang-c" Assume that the input sources are in C. .TP .B "\-lang-c89" Assume that the input sources are in C89. .TP .B "\-lang-c++" Assume that the input sources are in C++. .TP .B "\-lang-objc" Assume that the input sources are in ObjectiveC. .TP .B "\-lang-objc++" Assume that the input sources are in ObjectiveC++. .TP .B "\-lang-asm" Assume that the input sources are in assembler. .TP .BI "\-std=" "" Specify the conformance standard; one of: gnu89, gnu99, c89, c99, iso9899:1990, iso9899:199409, iso9899:1999 .TP .B "\-+" Allow parsing of C++ style features. .TP .B "\-w" Inhibit warning messages. .TP .B "\-Wtrigraphs" Warn if trigraphs are encountered. .TP .B "\-Wno-trigraphs" Do not warn about trigraphs. .TP .B "\-Wcomment{s}" Warn if one comment starts inside another. .TP .B "\-Wno-comment{s}" Do not warn about comments. .TP .B "\-Wtraditional" Warn about features not present in traditional C; .TP .B "\-Wno-traditional" Do not warn about traditional C; .TP .B "\-Wundef" Warn if an undefined macro is used by #if. .TP .B "\-Wno-undef" Do not warn about testing undefined macros. .TP .B "\-Wimport" Warn about the use of the #import directive. .TP .B "\-Wno-import" Do not warn about the use of #import. .TP .B "\-Werror" Treat all warnings as errors. .TP .B "\-Wno-error" Do not treat warnings as errors. .TP .B "\-Wsystem-headers" Do not suppress warnings from system headers. .TP .B "\-Wno-system-headers" Suppress warnings from system headers. .TP .B "\-Wall" Enable all preprocessor warnings. .TP .B "\-M" Generate make dependencies. .TP .B "\-MM" As .B "\-M"\c \&, but ignore system header files. .TP .BI "\-MF " "" Write dependency output to the given file. .TP .B "\-MG" Treat missing header file as generated files. .TP .B "\-MP" Generate phony targets for all headers. .TP .BI "\-MQ " "" Add a MAKE-quoted target. .TP .BI "\-MT " "" Add an unquoted target. .TP .BI "\-D" "" Define a .I \c \& with string '1' as its value. .TP .BI "\-D" "=" Define a .I \c \& with .I \c \& as its value. .TP .BI "\-A" " ()" Assert the .I \c \& to .I \c \&. .TP .BI "\-A\-" " ()" Disable .I \c \& to .I \c \&. .TP .BI "-U" "" Undefine .I \c \&. .TP .B "\-H" Print the name of header files as they are used. .TP .B "\-C" Do not discard comments. .TP .B "\-dM" Display a list of macro definitions active at end. .TP .B "\-dD" Preserve macro definitions in output. .TP .B "\-dN" As .B \-dD\c \& except that only the names are preserved. .TP .B "\-dI" Include #include directives in the output. .TP .B "\-fpreprocessed" Treat the input file as already preprocessed. .TP .BI "\-ftabstop=" "" Distance between tab stops for column reporting. .TP .B "\-P" Do not generate #line directives. .TP .B "\-$" Do not allow '$' in identifiers. .TP .B "\-remap" Remap file names when including files. .TP .B "\-v or \-\-version" Display the version number. .TP .B "\-h or \-\-help" Show summary of options. .SH AUTHOR This manual page was written by Aurelien Jarno , for the Debian GNU/Linux system (but may be used by others). debian/manpages/sdasz80.10000644000000000000000000000002212225023614012326 0ustar .so man1/asxxxx.1 debian/manpages/sdasgb.10000644000000000000000000000002212225023614012275 0ustar .so man1/asxxxx.1 debian/manpages/sdas6808.10000644000000000000000000000002212225023614012312 0ustar .so man1/asxxxx.1 debian/README.Debian0000644000000000000000000000100512225023613011217 0ustar sdcc for Debian --------------- SDCDB, the source debugger for SDCC, is included in the simulator package (sdcc-ucsim), since it can only work with a simulator. The SDCDB manual is included in the SDCC one (section 7), which it is located in /usr/share/doc/sdcc. You can also access it using dhelp (in the programming section). This is the dfsg version where all files defined as non-free by the upstream authors have been removed. -- Gudjon I. Gudjonsson , Wed, 23 Nov 2011 07:16:00 +0100 debian/source/0000755000000000000000000000000012225023632010463 5ustar debian/source/format0000644000000000000000000000001412225023614011671 0ustar 3.0 (quilt) debian/sdcc-doc.install0000644000000000000000000000027512225023614012236 0ustar #usr/share/doc/sdcc-doc/*.txt #usr/share/doc/sdcc-doc/*.pdf #usr/share/doc/sdcc-doc/aslink #usr/share/doc/sdcc-doc/avr/ #usr/share/doc/sdcc-doc/z80/*.pdf usr/share/doc/sdcc-doc/sdccman.ps debian/sdcc-doc.dirs0000644000000000000000000000021312225023614011521 0ustar usr/share/doc/sdcc-doc usr/share/doc/sdcc-doc/aslink usr/share/doc/sdcc-doc/avr usr/share/doc/sdcc-doc/z80 usr/share/doc/sdcc-doc/examples debian/control0000644000000000000000000000402012225023614010562 0ustar Source: sdcc Section: electronics Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Gudjon I. Gudjonsson Uploaders: Bdale Garbee Build-Depends: debhelper (>=9), autoconf, autotools-dev, libtool, flex, bison, libncurses5-dev, gputils, libboost-dev, dpkg-dev (>= 1.16.1~), hardening-wrapper Build-Depends-Indep: lyx, texlive-latex-recommended, texlive-generic-recommended, texlive-fonts-recommended, ghostscript Standards-Version: 3.9.4 Homepage: http://sdcc.sourceforge.net Vcs-Git: git://anonscm.debian.org/collab-maint/sdcc.git Vcs-Browser: http://anonscm.debian.org/git/collab-maint/sdcc.git Package: sdcc Architecture: any Depends: sdcc-libraries (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends} Recommends: sdcc-doc Suggests: sdcc-ucsim, python Breaks: sdcc-libraries (<< 2.9.0) Description: Small Device C Compiler SDCC is a C compiler for the Intel MCS51 family, AVR, HC08, PIC and Z80 microcontrollers. . This package includes the compiler, assemblers and linkers. Package: sdcc-libraries Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: gputils Description: Small Device C Compiler (libraries) SDCC is a C compiler for the Intel MCS51 family, AVR, HC08, PIC and Z80 microcontrollers. . This package contains the core library for SDCC. Package: sdcc-ucsim Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: sdcc Replaces: sdcc-ucsim-snapshot Description: Micro-controller simulator for SDCC uCsim is a microcontroller simulator. It is extensible to support different microcontroller families. It currently supports Intel MCS51 family, HC08 and Z80 microcontrollers. Package: sdcc-doc Section: doc Architecture: all Depends: ${misc:Depends} Suggests: sdcc Description: Small Device C Compiler (documentation) SDCC is a C compiler for the Intel MCS51 family, AVR, HC08, PIC and Z80 microcontrollers. . This package provides the documentation and examples for the SDCC compiler. debian/patches/0000755000000000000000000000000012225023632010612 5ustar debian/patches/series0000644000000000000000000000002412225023614012023 0ustar 01_disable_non-free debian/patches/01_disable_non-free0000644000000000000000000000722312225023614014235 0ustar Removes all references to the non-free directory. Needed in order to compile the source files stripped of non-free files. --- a/Makefile.in +++ b/Makefile.in @@ -68,7 +68,7 @@ ifeq ($(OPT_DISABLE_DEVICE_LIB), 0) TARGETS += sdcc-device-lib -PKGS += device/lib device/non-free/lib +PKGS += device/lib endif ifeq ($(OPT_DISABLE_PACKIHX), 0) @@ -88,7 +88,7 @@ TARGETS += sdcc-libs sdcc-cc sdcc-device-inc sdcc-as sdcc-ld sdcc-scripts -PKGS += $(SDCC_LIBS) src device/include device/non-free/include \ +PKGS += $(SDCC_LIBS) src device/include \ $(SDCC_AS) sdas/linksrc $(SDCC_LIBRARIAN) \ $(SDCC_SDBINUTILS) $(SDCC_SCRIPTS) @@ -138,15 +138,12 @@ sdcc-device-inc: $(MAKE) -C device/include - $(MAKE) -C device/non-free/include sdcc-device-lib: sdcc-cc sdcc-as sdcc-ld $(SDCC_BINUTILS) $(MAKE) -C device/lib - $(MAKE) -C device/non-free/lib sdcc-device-tini: $(MAKE) -C device/include - $(MAKE) -C device/non-free/include $(MAKE) -C device/lib model-ds390 model-ds400 # doc depends on latex and latex2html --- a/configure +++ b/configure @@ -789,9 +789,7 @@ support/packihx sim/ucsim debugger/mcs51 -support/sdbinutils -device/lib/pic14 device/non-free/lib/pic14 -device/lib/pic16 device/non-free/lib/pic16' +support/sdbinutils' # Initialize some variables set by options. ac_init_help= @@ -5932,9 +5930,6 @@ # *nix default: "sdcc/non-free/include" -if test "${non_free_include_dir_suffix}" = ""; then - non_free_include_dir_suffix="sdcc/non-free/include" -fi # lib_dir_suffix: # *nix default: "sdcc/lib" @@ -7496,10 +7491,10 @@ fi -test $OPT_DISABLE_DEVICE_LIB = 0 && ac_config_files="$ac_config_files device/lib/Makefile device/non-free/lib/Makefile" +test $OPT_DISABLE_DEVICE_LIB = 0 && ac_config_files="$ac_config_files device/lib/Makefile" -ac_config_files="$ac_config_files main.mk:main_in.mk src/Makefile device/include/Makefile device/non-free/include/Makefile sdas/linksrc/Makefile support/librarian/Makefile support/makebin/Makefile support/regression/Makefile support/valdiag/Makefile support/scripts/Makefile support/regression/ports/host/spec.mk:support/regression/ports/host/spec.mk.in Makefile Makefile.common:Makefile.common.in" +ac_config_files="$ac_config_files main.mk:main_in.mk src/Makefile device/include/Makefile sdas/linksrc/Makefile support/librarian/Makefile support/makebin/Makefile support/regression/Makefile support/valdiag/Makefile support/scripts/Makefile support/regression/ports/host/spec.mk:support/regression/ports/host/spec.mk.in Makefile Makefile.common:Makefile.common.in" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure @@ -8225,11 +8220,9 @@ "device/lib/r2k/Makefile") CONFIG_FILES="$CONFIG_FILES device/lib/r2k/Makefile" ;; "device/lib/r3ka/Makefile") CONFIG_FILES="$CONFIG_FILES device/lib/r3ka/Makefile" ;; "device/lib/Makefile") CONFIG_FILES="$CONFIG_FILES device/lib/Makefile" ;; - "device/non-free/lib/Makefile") CONFIG_FILES="$CONFIG_FILES device/non-free/lib/Makefile" ;; "main.mk") CONFIG_FILES="$CONFIG_FILES main.mk:main_in.mk" ;; "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "device/include/Makefile") CONFIG_FILES="$CONFIG_FILES device/include/Makefile" ;; - "device/non-free/include/Makefile") CONFIG_FILES="$CONFIG_FILES device/non-free/include/Makefile" ;; "sdas/linksrc/Makefile") CONFIG_FILES="$CONFIG_FILES sdas/linksrc/Makefile" ;; "support/librarian/Makefile") CONFIG_FILES="$CONFIG_FILES support/librarian/Makefile" ;; "support/makebin/Makefile") CONFIG_FILES="$CONFIG_FILES support/makebin/Makefile" ;; debian/sdcc-ucsim.dirs0000644000000000000000000000003412225023614012075 0ustar usr/bin usr/share/doc/ucsim debian/sdcc-doc.doc-base0000644000000000000000000000032112225023614012235 0ustar Document: sdcc Title: SDCC Compiler User Guide Author: Johan Knol Abstract: This is the user manual for the SDCC Compiler. Section: Programming Format: postscript Files: /usr/share/doc/sdcc-doc/sdccman.ps.gz debian/sdcc-ucsim.doc-base0000644000000000000000000000042412225023614012614 0ustar Document: ucsim-user Title: uCsim simulator User Guide Author: Daniel Drotos Abstract: This is the user manual for the ucSim simulator for microcontrollers. Section: Programming Format: HTML Index: /usr/share/doc/sdcc-ucsim/index.html Files: /usr/share/doc/sdcc-ucsim/*.html debian/rules0000755000000000000000000001313212225023614010243 0ustar #!/usr/bin/make -f export DH_VERBOSE=1 export DEB_BUILD_HARDENING=1 DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) ifneq (,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS)))) NJOBS := -j $(subst parallel=,,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS)))) endif export HOME=$(CURDIR)/build ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) CFLAGS += -g -O0 export STRIP=true endif ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) INSTALL_PROGRAM += -s endif clean: dh_testdir dh_testroot # Clean up files that Makefile should have cleaned [ ! -f Makefile ] || $(MAKE) distclean rm -f device/lib/pic14/config.h rm -f device/lib/pic14/config.log rm -f device/lib/pic14/stamp-h1 rm -f device/lib/r2k/*.asm rm -f device/lib/z180/*.asm rm -f sim/ucsim/cmd.src/cmdlex.cc rm -f sim/ucsim/cmd.src/cmdpars.cc rm -f src/pic14/Makefile.dep rm -f src/pic14/peeph.rul rm -rf $(CURDIR)/build rm -f custom.h rm -f sim/ucsim/custom.h rm -f support/regression/ports/host/spec.mk rm -f support/cpp/configargs.h,.log rm -f support/cpp/config.log rm -f support/cpp/config.status rm -f support/sdbinutils/binutils/arlex.c rm -f support/sdbinutils/binutils/arparse.c rm -f support/sdbinutils/binutils/arparse.h rm -f sim/ucsim/config.guess rm -f sim/ucsim/config.sub rm -f sim/ucsim/config.log rm -f config.log rm -f device/lib/small-stack-auto/Makefile rm -f as/link/asxxxx_config.h rm -f support/cpp/configargs.h rm -f ports.all ports.build rm -f confdefs.h find -type f -name '*.o' -exec rm -f {} \; find -type f -name '.stamp' -exec rm -f {} \; find . -name '*.rel' -exec rm -f {} \; find . -name '*.sym' -exec rm -f {} \; find . -name '*.lst' -exec rm -f {} \; find . -name '*.a' -exec rm -f {} \; find . -name config.status -exec rm -f {} \; find . -name Makefile -exec rm -f {} \; rm -f sim/ucsim/cmd.src/cmdpars.hh # Clean up the Debian specific files rm -f config.status doc/sdccman.ps rm -f *-stamp rm -f install-indep install-arch dh_clean configure: configure-stamp configure-stamp: dh_testdir mkdir -p $(CURDIR)/build cp /usr/share/misc/config.sub sim/ucsim/config.sub cp /usr/share/misc/config.guess sim/ucsim/config.guess ./configure \ --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ --prefix=/usr touch $@ build: build-arch build-arch: build-arch-stamp build-arch-stamp: configure-stamp dh_testdir $(MAKE) $(NJOBS) touch $@ build-indep: build-indep-stamp build-indep-stamp: configure-stamp dh_testdir cd doc && lyx -e ps sdccman.lyx touch $@ install: install-arch install-indep install-indep: build-indep dh_testdir dh_testroot dh_installdirs dh_prep $(MAKE) install prefix=$(CURDIR)/debian/tmp/usr mkdir -p debian/tmp/usr/share/doc/sdcc-doc install -o root -g root -m 644 doc/sdccman.ps debian/tmp/usr/share/doc/sdcc-doc mv debian/tmp/usr/share/doc/sdcc/* debian/tmp/usr/share/doc/sdcc-doc/ rm -f debian/tmp/usr/share/doc/sdcc-doc/z80/combined_i186_z80_design.tex rm -f debian/tmp/usr/share/doc/sdcc-doc/z80/Makefile #Remove extra license file rm -f $(CURDIR)/debian/tmp/usr/share/sdcc/lib/src/pic16/COPYING # Remove empty dirs: find $(CURDIR)/debian/tmp -type d -empty -delete #Clean up unnecessary directories rm -rf `find $(CURDIR)/debian/tmp -type d -name .deps` dh_install -i --sourcedir=debian/tmp # Install examples cp -a device/examples $(CURDIR)/debian/sdcc-doc/usr/share/doc/sdcc-doc rm -f $(CURDIR)/debian/sdcc-doc/usr/share/doc/sdcc-doc/examples/mcs51/simple*/go* touch $@ install-arch: build-arch dh_testdir dh_testroot dh_installdirs dh_prep $(MAKE) install prefix=$(CURDIR)/debian/tmp/usr # Remove empty dirs: find $(CURDIR)/debian/tmp -type d -empty -delete #Clean up unnecessary directories rm -rf `find $(CURDIR)/debian/tmp -type d -name .deps` # Add some scripts mkdir -p debian/tmp/usr/share/sdcc/scripts install -o root -g root -m 755 support/scripts/*.pl debian/tmp/usr/share/sdcc/scripts install -o root -g root -m 755 support/scripts/*.py debian/tmp/usr/share/sdcc/scripts # Remove an unnecessary script rm -f debian/tmp/usr/share/sdcc/scripts/gen_known_bugs.pl dh_install -a --sourcedir=debian/tmp touch $@ # Must not depend on anything. This is to be called by binary-arch/binary-indep # in another 'make' thread. binary-common: dh_testdir dh_testroot dh_installchangelogs ChangeLog dh_installdocs dh_installman #dh_installexamples -psdcc-doc device/examples/* -X\.bat dh_installemacsen dh_link dh_lintian dh_strip -Xusr/share/sdcc/lib/ dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb # Build architecture-independent files here. binary-indep: install-indep $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common # Build architecture-dependent files here. binary-arch: install-arch $(MAKE) -f debian/rules DH_OPTIONS=-s binary-common get-orig-source: VER=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-+~]+).*,\1,p'); \ uscan --force-download --rename --download-version=$$VER --destdir=. && (\ tar -xj --exclude device/non-free --exclude sim/ucsim/libltdl -f sdcc_$$VER.orig.tar.bz2 ; \ mv sdcc-$$VER sdcc-$$VER+dfsg;\ tar -czf sdcc_$$VER+dfsg.orig.tar.gz sdcc-$$VER+dfsg; \ rm -rf sdcc-$$VER+dfsg ;\ rm -f sdcc_$$VER.orig.tar.bz2); binary: binary-arch binary-indep .PHONY: build clean binary-indep binary-arch binary install install-arch install-indep debian/compat0000644000000000000000000000000212225023614010361 0ustar 9 debian/sdcc.dirs0000644000000000000000000000004012225023614010754 0ustar usr/bin usr/share/sdcc/scripts debian/watch0000644000000000000000000000021212225023614010207 0ustar version=3 opts=dversionmangle=s/\+dfsg$// http://qa.debian.org/watch/sf.php/sdcc/sdcc-src-([0-9]\.[0-9]\.[0-9])\.tar\.bz2 debian uupdate