Have you #include'd signal.h?
I don't see any reference to the system not being able to find that file,
only that the the dint/eint function declarations can't be found.
Regards,
Bevan
-----Original Message-----
From: Daniel Rabino [mailto:[email protected]]
Sent: Tuesday, 12 January 2010 1:43 AM
To: GCC for MSP430 - http://mspgcc.sf.net
Subject: Re: [Mspgcc-users] mspgcc repository
Adam Horden wrote:
Hi All,
I create packages for the mspgcc project for Ubuntu. The way I do it is
to create my own patches and use these inside my packages. The patch is
just all the applied patches to a upstream source release combined into
one patch. I use a combination of the CVS code and Ivan's code from SVN
(mspgcc4 project). I created a mirror system that would build a source
version each day as well as a Ubuntu package.
Its worth noting that Ivan's port is more up to date and allows you to
build with any gcc version. This way you do not have to rely on gcc
3.2.3. I did this because gcc 3.2.3 support was dropped in Ubuntu Karmic
and so I could not build packages for this distribution release. I
switched to Ivan's code in SVN so I could build packages for any Ubuntu
distribution releases without having to backport gcc.
I am starting a new respiratory soon where my patches will be held in
revision control. This way my packages and packages for other
distributions can all use the same patch so we have some sort of quality
control.
If you use Ubuntu you can try out my packages assuming you are running
Jaunty (Karmic build are also available, Lucid in progress):
To use the packages assuming your on Ubuntu Jaunty:
sudo nano /etc/sources/sources.list and append to the bottom:
deb http://ppa.launchpad.net/adamhorden/msp430/ubuntu jaunty main
deb-src http://ppa.launchpad.net/adamhorden/msp430/ubuntu jaunty main
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 9CC544B7
sudo apt-get update
sudo apt-get install msp430-binutils msp430-gcc msp430-libc msp430-gdb
*Adam Horden
*
*http://www.adamhorden.net*
Peter Bigot wrote:
I also could not find anything saying which was canonical, but I have
found
the Bazaar repository on SourceForge to incorporate material from the
mspgcc4 fork and from the msp430x branch of CVS. I'm using it as the
basis
of the CC430 support. (I see I mistakenly said "git" in my post where
I
meant "bazaar"; sorry for the confusion.)
The Bazaar version has mspgcc-core/buildgcc.sh which works fine if you
comment out the hard-coded CC=gcc-3.4 at the top and select gcc 3.2.3
instead of the default (I have not had success with gcc 4.3.4) .
packaging-standard/buildmspgcc.sh appears to be outdated. Users of the
CVS
repository should be aware that the name of the overwrite directory for
GCC
3.2.3 has been corrected to be gcc-3.2 in Bazaar, from the mistaken
gcc-3.3
it is in CVS.
Sorry, can't help with windows; my focus at the moment is Linux.
Peter
On Thu, Jan 7, 2010 at 2:02 PM, Bragg, Nate <[email protected]>
wrote:
Hello,
In trying to learn more about the mspgcc project (because I would
prefer
an
open alternative to the Quadravox compiler I was suggested), I
stumbled
across this list. On the mspgcc homepage and wiki, it suggests
retrieving
the source from CVS - but the bazaar repository has more recent
commits,
and
in the mailing list archives, it's been said that the project is using
git.
Could someone clarify which repository I should be getting mspgcc
from?
(and if it is git, where it is? I couldn't seem to find it).
While I'm at it, if I wanted to do MSP-430 development in windows,
would
I
need the binary installer, or is it preferred to compile mspgcc from
the
source?
Sorry for all of the questions, I'm just a little confused.
Regards,
Nate Bragg
Software Engineer
ADB Airfield Solutions
977 Gahanna Parkway
Columbus, OH 43230
Office: 614-573-8282
Fax: 614-573-8382
E-mail: [email protected]<mailto:[email protected]>
Web Site: www.adb-airfieldsolutions.com<
http://www.adb-airfieldsolutions.com/>
Notice: This e-mail may contain trade secrets or privileged,
undisclosed
or
otherwise confidential information. If you have received this e-mail
in
error, you are hereby notified that any review, replication or
distribution
of it is strictly prohibited. Please inform sender immediately and
destroy
the original transmittal. Thank you for your cooperation.
P Please consider the environmental impact before printing this e-mail
----------------------------------------------------------------------------
--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast
and
easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users
------------------------------------------------------------------------
----------------------------------------------------------------------------
--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and
easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
------------------------------------------------------------------------
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users
------------------------------------------------------------------------
----------------------------------------------------------------------------
--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and
easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
------------------------------------------------------------------------
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users
Hi All,
After installing this toolchain I' get errors when compiling. It seems
that the compiler doesn't find signal.h standard library. Any
suggestions???
../hal_board.c: In function 'halTimerSet':
../hal_board.c:452: warning: implicit declaration of function 'dint'
../hal_board.c:455: warning: implicit declaration of function 'eint'
../hal_board.c: At top level:
../hal_board.c:556: error: expected declaration specifiers or '...'
before numeric constant
../hal_board.c:556: warning: return type defaults to 'int'
../hal_board.c: In function 'interrupt':
../hal_board.c:556: error: expected declaration specifiers before
'isrPort2'
../hal_board.c:580: error: expected declaration specifiers before
'interrupt'
../hal_board.c:601: error: expected declaration specifiers before
'interrupt'
../hal_board.c:677: error: expected declaration specifiers before
'interrupt'
../hal_board.c:711: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
../hal_board.c:753: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
../hal_board.c:800: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
../hal_board.c:836: error: expected declaration specifiers before
'interrupt'
../hal_board.c:896: error: expected declaration specifiers before
'interrupt'
../hal_board.c:934: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
../hal_board.c:968: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
../hal_board.c:983: error: expected '{' at end of input
make: *** [hal_board.o] Error 1