CVS: packaging README-addons.txt, NONE, 1.1 README-MAINTAINER.txt, 1.3, 1.4 makefile, 1.26, 1.27 mspgcc-full-install.nsi, 1.16, 1.17
Chris Liechti <[email protected]> Fri, 16 Feb 2007 08:12:49 -0800
| Newsgroups | gmane.comp.hardware.texas-instruments.msp430.gcc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/mspgcc/packaging
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv6011/packaging
Modified Files:
README-MAINTAINER.txt makefile mspgcc-full-install.nsi
Added Files:
README-addons.txt
Log Message:
add, addons
--- NEW FILE: README-addons.txt ---
Addons for mspgcc
=================
This folder contains additional material for the MSP430 toolchain.
python-mspgcc-X.Y.win32.exe
Python extension. This is for developers using the Python programming
language. It gives access to the BSL and JTAG libraries that are also
used in the msp430-jtag, msp430-dco and msp430-bsl tools. It has also
function to load and store intel hex and TI-text files and to load
ELF files.
Index: README-MAINTAINER.txt
===================================================================
RCS file: /cvsroot/mspgcc/packaging/README-MAINTAINER.txt,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -d -r1.3 -r1.4
--- README-MAINTAINER.txt 31 Aug 2006 02:08:03 -0000 1.3
+++ README-MAINTAINER.txt 16 Feb 2007 16:12:47 -0000 1.4
@@ -15,6 +15,7 @@
- ctypes
- py2exe
+ - EasyDialogs
mspgcc Linux howto
@@ -30,21 +31,21 @@
fly, there is no separate ``make install``.
Preparation of the installation directory. Run these commands as root.
-``$USER`` shoud be replaced with the login name of the user that build the
+``$USER`` shoud be replaced with the login name of the user that builds the
toolchain with the commands below::
- mkdir -p /opt/mspgcc
- chown $USER.$USER /opt/mspgcc
+ $ sudo mkdir -p /opt/mspgcc
+ $ sudo chown $USER.$USER /opt/mspgcc
The toolchain can now be built as ordinary user::
- mkdir -p mspgcc/sf
- cd mspgcc/sf
- cvs -d:pserver:[email protected]:/cvsroot/mspgcc login
- cvs -z3 -d:pserver:[email protected]:/cvsroot/mspgcc co -P .
- cd packaging
- make folders
- make build
+ $ mkdir -p mspgcc/sf
+ $ cd mspgcc/sf
+ $ cvs -d:pserver:[email protected]:/cvsroot/mspgcc login
+ $ cvs -z3 -d:pserver:[email protected]:/cvsroot/mspgcc co -P .
+ $ cd packaging
+ $ make folders
+ $ make build
.. note:: It may be required to use gcc-3.4 (or older) to cross compile
gcc-3.2.3. gcc-4.0 may not work. In that case use e.g.
@@ -53,20 +54,28 @@
If you want to use ``msp430-jtag``, ensure that ``/dev/parport0`` is available::
- modprobe ppdev
+ $ modprobe ppdev
And that the user is in the group with access to the device::
- addgroup $USER lp # new login required to take effect
+ $ addgroup $USER lp # new login required to take effect
-A line containing "ppdev" can be added to ``/etc/modules``, so that the
-module is automaticaly loaded on startup.
+A line containing ``ppdev`` can be added to ``/etc/modules``, so that the
+module is automatically loaded on startup.
Append line in ``/etc/environment``, so that the commands of the toolchain
are found::
PATH=$PATH:/opt/mspgcc/bin
+Dependencies
+------------
+To compile he toolchain a number of packeages are required on the host system.
+This is a list for Ubuntu Linux::
+
+ $ sudo apt-get install build-essential autoconf automake1.9 make \
+ libncurses5-dev texinfo
+
mspgcc Windows howto
====================
Index: makefile
===================================================================
RCS file: /cvsroot/mspgcc/packaging/makefile,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -w -d -r1.26 -r1.27
--- makefile 15 Feb 2007 13:15:54 -0000 1.26
+++ makefile 16 Feb 2007 16:12:47 -0000 1.27
@@ -116,7 +116,7 @@
@echo "# make folders sf build"
@echo
@echo "If building from a CVS checkout ("make folders" has to be run"
- @echo "the very first time):"
+ @echo "the very first time only):"
@echo "# make build"
@echo
@echo "Windows installer (from a CVS checkout):"
@@ -136,7 +136,7 @@
@echo ARCHIVES = $(ARCHIVES)
@echo CVSFILES = $(CVSFILES)
@echo PATCHES = $(PATCHES)
- @echo SHELL = $(SHELL)
+ uname -a
set
##############################################################################
@@ -412,7 +412,9 @@
ifdef WINDOWS
cp $(BUILDDIR)/libmspgcc/msp430/MSP430mspgcc.dll $(BUILDDIR)/python/ >$(BUILDDIR)/pytools.log 2>&1
cp $(BUILDDIR)/libmspgcc/hardware_access/HIL.dll $(BUILDDIR)/python/ >>$(BUILDDIR)/pytools.log 2>&1
- cd $(BUILDDIR)/python/win32 && rm -rf ../build; python setup-combined-tools-py2exe.py >>$(BUILDDIR)/pytools.log 2>&1
+ rm -rf $(BUILDDIR)/python/bin $(BUILDDIR)/python/dist $(BUILDDIR)/python/build
+ cd $(BUILDDIR)/python/win32 && python setup-combined-tools-py2exe.py >>$(BUILDDIR)/pytools.log 2>&1
+ cd $(BUILDDIR)/python && python setup.py bdist_wininst >>$(BUILDDIR)/pytools.log 2>&1
else
rm -r $(BUILDDIR)/python/CVS $(BUILDDIR)/python/mspgcc/CVS $(BUILDDIR)/python/mspgcc/serial/CVS
echo "#!/bin/bash" >$(BUILDDIR)/python/msp430-jtag
@@ -433,6 +435,9 @@
ifdef WINDOWS
cp -r $(BUILDDIR)/python/bin/* $(INSTALLDIR)/bin
rm -f $(INSTALLDIR)/bin/MSVCR71.dll
+ mkdir -p $(INSTALLDIR)/addons
+ cp $(BUILDDIR)/python/dist/* $(INSTALLDIR)/addons
+ cp README-addons.txt $(INSTALLDIR)/addons
else
install $(BUILDDIR)/python/msp430-jtag $(INSTALLDIR)/bin/msp430-jtag
install $(BUILDDIR)/python/msp430-jtag.py $(INSTALLDIR)/bin/msp430-jtag-unwrapped
Index: mspgcc-full-install.nsi
===================================================================
RCS file: /cvsroot/mspgcc/packaging/mspgcc-full-install.nsi,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -w -d -r1.16 -r1.17
--- mspgcc-full-install.nsi 26 May 2006 18:11:38 -0000 1.16
+++ mspgcc-full-install.nsi 16 Feb 2007 16:12:47 -0000 1.17
@@ -293,6 +293,12 @@
!include "msp430-libraries-install.nsh"
SectionEnd
+Section "Addon Tools" SecAddonTools
+ SectionIn 1 2
+ SetOutPath "$INSTDIR\addons"
+ File "${SRCDIR}\addons\*"
+SectionEnd
+
Section "Set PATH" SecPath
SectionIn 1 2
Call AddPath
@@ -478,6 +484,9 @@
Delete "$INSTDIR\bin\cygintl-3.dll"
Delete "$INSTDIR\bin\cygiconv-2.dll"
+ ; addons
+ RMDir /r "$INSTDIR\addons"
+
; Remove File Associations (if they are assigned to the downloader)
ReadRegStr $0 HKCR ".a43" ""
StrCmp $0 "mspgcc.ihexfile" Del_a43_Assoc Skip_Del_a43
@@ -518,7 +527,7 @@
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
- !insertmacro MUI_DESCRIPTION_TEXT ${SecBinutils} "The GNU binutils package, version 2.14, for the MSP430. This includes the assember, linker, and librarian."
+ !insertmacro MUI_DESCRIPTION_TEXT ${SecBinutils} "The GNU binutils package, version 2.17, for the MSP430. This includes the assember, linker, and librarian."
!insertmacro MUI_DESCRIPTION_TEXT ${SecCompiler} "The GNU C/C++ compiler (GCC) and C library for the MSP430."
!insertmacro MUI_DESCRIPTION_TEXT ${SecGcc} "The GNU C/C++ compiler (GCC), version 3.2.3, for the MSP430."
!insertmacro MUI_DESCRIPTION_TEXT ${SecLibc} "libc, for the MSP430."
@@ -526,11 +535,12 @@
!insertmacro MUI_DESCRIPTION_TEXT ${SecDocsSub} "Documentation for mspgcc"
!insertmacro MUI_DESCRIPTION_TEXT ${SecExamples} "Several C and assembler examples for the MSP430."
!insertmacro MUI_DESCRIPTION_TEXT ${SecLibraries} "Several add-on libraries for the MSP430. libmspgcc, libcommandline, libspi"
+ !insertmacro MUI_DESCRIPTION_TEXT ${SecAddonTools} "Add-on tools and utilities."
!insertmacro MUI_DESCRIPTION_TEXT ${SecGdb} "The GNU command line debugger (GDB) for the MSP430."
!insertmacro MUI_DESCRIPTION_TEXT ${SecDownloader} "gdbproxy, msp430-jtag, msp430-bsl. Interface to the MSP430 FET JTAG tool and BSL."
!insertmacro MUI_DESCRIPTION_TEXT ${SecGiveio} "A parallel port access driver for Windows NT, 2000 and XP (needed for the JTAG adaptor). Note: this is NOT needed for Windows 95, 98 or Me."
!insertmacro MUI_DESCRIPTION_TEXT ${SecMakeAndLibs} "The GNU make utilities - make, diff, patch, rm, mv, mkdir, cp and the cygwin libraries."
!insertmacro MUI_DESCRIPTION_TEXT ${SecMake} "The GNU make utilities - make, diff, patch, rm, mv, mkdir, cp."
- !insertmacro MUI_DESCRIPTION_TEXT ${SecCygwin} "Cygwin DLLs required for the tools. Can be left out if a recent Cygwin is already installed on the box"
+ !insertmacro MUI_DESCRIPTION_TEXT ${SecCygwin} "Cygwin DLLs required for the tools. Can be left out if a recent Cygwin is already installed."
!insertmacro MUI_DESCRIPTION_TEXT ${SecPath} "Set the PATH environment variable so that the msp430-* tools are found."
!insertmacro MUI_FUNCTION_DESCRIPTION_END
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV