Interesting.  I can't confirm this without building an XP VM and installing
mingw, but it appears that build used the legacy headers instead of the TI
headers (in the TI header version of msp430x20x3.h iomacros.h is included on
line 33, not 15) , and somehow also defines __clang__, which is supposed to
only be defined when building msp430-libc for LLVM.

Unless there's a specific reason to use the legacy headers, use the TI
version of msp430-libc instead.  They generally have the right peripheral
addresses, and are the only  headers that will correctly place interrupt
vectors on some chips.

Peter

On Sun, Feb 27, 2011 at 11:04 AM, Dan Bloomquist <d...@lakeweb.net> wrote:

> Matthias Hartmann wrote:
> > You may download a build for mingw32 here.
> >
> > url: http://www.mydrive.ch/login
> > user: guest@Hutch67
> > pw: mspgcc4!mingw32
> >
> > Would be nice, if you could test this build.
>
> It works for me, XP, all the way through an object dump. I got one warning:
>
>
> C:\cpp\mspgcc4\workspace\test_201x\Debug>C:\cygwin\home\gcc4_minwg\bin\msp430-gc
> c -mmcu=msp430x2013 -mendup-at=main -IC:\cpp\mspgcc4\msp430\include -Os
> -g3 -Wal
> l -c -fmessage-length=0 -MMD -MP -MF "main.d" -MT"main.d" -o "main.o"
> "../main.c
> "
> In file included from C:\cpp\mspgcc4\msp430\include/msp430x20x3.h:15,
>                  from C:\cpp\mspgcc4\msp430\include/io.h:72,
>                  from ../main.c:2:
> C:\cpp\mspgcc4\msp430\include/iomacros.h:123: warning: conflicting types
> for bui
> lt-in function '__get_frame_address'
>
>
> And even though I have it in a cygwin folder I have no path to the bin
> for this test
>
> Best, Dan.
>
>
>
> ------------------------------------------------------------------------------
> Free Software Download: Index, Search & Analyze Logs and other IT data in
> Real-Time with Splunk. Collect, index and harness all the fast moving IT
> data
> generated by your applications, servers and devices whether physical,
> virtual
> or in the cloud. Deliver compliance at lower cost and gain new business
> insights. http://p.sf.net/sfu/splunk-dev2dev
> _______________________________________________
> Mspgcc-users mailing list
> Mspgcc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to