msp430 install on gentoo linux

http://www.informatik.uni-mannheim.de/pi4.data/content/projects/msp430/

If you encounter with compile error, open the /gdb-6.0/include/obstack.h and modify following things
(/gcc-3.2/include/obstack.h file may be modified)

# define obstack_ptr_grow(OBSTACK,datum) \
__extension__ \
({ struct obstack *__o = (OBSTACK); \
    if (__o->next_free + sizeof (void *) > __o->chunk_limit) \
      _obstack_newchunk (__o, sizeof (void *)); \
    obstack_ptr_grow_fast (__o, datum); })

# define obstack_int_grow(OBSTACK,datum) \
__extension__ \
({ struct obstack *__o = (OBSTACK); \
    if (__o->next_free + sizeof (int) > __o->chunk_limit) \
      _obstack_newchunk (__o, sizeof (int)); \
    obstack_int_grow_fast (__o, datum); })

# define obstack_ptr_grow_fast(OBSTACK,aptr) \
__extension__ \
({ struct obstack *__o1 = (OBSTACK); \
    *(const void **) __o1->next_free = (aptr); \
    __o1->next_free += sizeof (const void *); \
    (void) 0; })

# define obstack_int_grow_fast(OBSTACK,aint) \
__extension__ \
({ struct obstack *__o1 = (OBSTACK); \
    *(int *) __o1->next_free = (aint); \
    __o1->next_free += sizeof (int); \
    (void) 0; })


트랙백

이 글과 관련된 글 쓰기 (트랙백 보내기)
TrackbackURL : http://bruceKIM.egloos.com/tb/2322122 [도움말]

덧글

덧글 입력 영역