hi

I don't use uniarch (yet), but adding signal.h solved the problem for me on the 
mspgcc4.

If that file's not there, you can also just copy the interrupt macro from there 
into your code.

#define interrupt(x) void __attribute__((interrupt (x)))

That works at least on mspgcc4.

Best
 Mathias

On 02.06.2011, at 13:35, Tõnu Samuel wrote:

> On Thu, 2011-06-02 at 13:11 +0200, Matthias Ringwald wrote:
>> Hi
>> 
>> please add #include <signal.h>. There's a macro in there to get the 
>> interrupt syntax right.
>> 
> 
> tonu@hp:~/msp/temperature-demo$ make
> msp430-gcc -Os -Wall -g -mmcu=msp430x2553 -c main.c
> main.c:17:20: fatal error: signal.h: No such file or directory
> compilation terminated.
> make: *** [main.o] Error 1
> tonu@hp:~/msp/temperature-demo$ 
> 
> 
> I do not see this file on disk either except
> in /opt/msp430-gcc-4.4.5/msp430/include/signal.h where it because of old
> mspgcc4 installation.
> 
>  Tõnu
> 


------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to