If that doesn't work, you might need to use:
msp430-gcc -x assembler-with-cpp
which is what's done when gcc and libc build from assembler files.
Peter
On Sat, Mar 5, 2011 at 12:53 PM, Grant Edwards <[email protected]>wrote:
> On 2011-03-05, Matt <[email protected]> wrote:
>
> > I'm using mspgcc-4.4.5/Eclipse/Ubuntu to compile a mixed C and asm
> > project for 'F2013. I have assembler functions in their own .S file
> > that use some TimerA registers. Is there a way to make GNU assembler
> > recognise C-style header files?
>
> If you use a .S suffix for the assmebly file, then you can "assemble"
> them with gcc, and it'll do the normal cpp stuff.
>
> --
> Grant Edwards grant.b.edwards Yow! Wow! Look!! A
> stray
> at meatball!! Let's
> interview
> gmail.com it!
>
>
>
> ------------------------------------------------------------------------------
> What You Don't Know About Data Connectivity CAN Hurt You
> This paper provides an overview of data connectivity, details
> its effect on application quality, and explores various alternative
> solutions. http://p.sf.net/sfu/progress-d2d
> _______________________________________________
> Mspgcc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>
------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users