Hi,

If you installed from a binary package you probably didn't get the
source of printf installed, just the library and the header with the
printf declaration (stdio.h), which should be enough to use it in your
project. To view the source you could take a look at the link Chris
provided or download a source package of msp430-libc.

Hans

On Fri, 28 May 2010 15:11:03 -0400
Hao Wang <[email protected]> wrote:

> Well, Chris.
> I am using ubuntu right now. I was guessing for Linux, MSPGCC should
> have contained all the sources. Seems I was wrong?
> 
> On Fri, May 28, 2010 at 3:01 PM, Chris Liechti <[email protected]> wrote:
> 
> > Am 28.05.2010 19:59, schrieb Hao Wang:
> > > But I cannot find the printf.c in my MSPGCC directory.
> >
> > the windows installer does not contain the sources but you can see
> > them here:
> > http://mspgcc.cvs.sourceforge.net/viewvc/mspgcc/msp430-libc/src/stdlib/
> >
> > when gcc links C programms it implicitly links with "libc" which
> > contains all the precompiled functions from the C standard library.
> >
> > chris
> >
> >
> > ------------------------------------------------------------------------------
> >
> > _______________________________________________
> > Mspgcc-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/mspgcc-users
> >
> 
> 
> 

Reply via email to