Re: vsprintf
Sztefan Edwards <[email protected]> Thu, 26 Mar 2009 11:57:03 -0400
| Newsgroups | gmane.comp.hardware.motorola.microcontrollers.coldfire |
|---|---|
| Message-ID | <[email protected]> |
--0016364270d6d8fa40046607aaa6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Also dietlibc (GPL), uClibc (LGPL) and the various *BSD system's libc's. On Thu, Mar 26, 2009 at 11:30 AM, David Brown <[email protected]> wrote: > Granville Gregg wrote: > > > >> Hi >> >> Anyone know where I can get the source for vsprintf for the GCC compiler I >> am in need of it for a project based on U-Boot for the MCF54450 >> >> >> What I am exactly looking for is standard libraries written in C which >> would give me support for printing of doubles (i.e. atof, vsprintf with %f, >> etc..). I need the C source code so I can drop it into our current embedded >> system >> >> >> Gregg >> >> > gcc doesn't have a vsprintf function - that's part of the C library, not > the C compiler. So you want to look in the source code for a C library. > Different C libraries have different licenses - you cannot take the > vsprintf code from the gnu libc and paste it into your code unless your > entire code is (L)GPL. An alternative source that might be a better choice > is newlib (BSD-style license). > > mvh., > > David > --- > > [email protected] Send a post to the list. > [email protected] Join the list. > [email protected] Join the list in digest mode. > [email protected] Leave the list. > > -- ==== Q. How many Prolog programmers does it take to change a lightbulb? A. No. --0016364270d6d8fa40046607aaa6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Also dietlibc (GPL), uClibc (LGPL) and the various *BSD system's libc&#= 39;s.<br><br><br><br><div class=3D"gmail_quote">On Thu, Mar 26, 2009 at 11:= 30 AM, David Brown <span dir=3D"ltr"><<a href=3D"mailto:david@westcontro= l.com">[email protected]</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, = 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class=3D"im"= >Granville Gregg wrote:<br> =A0><br> <blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, = 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hi<br> <br> Anyone know where I can get the source for vsprintf for the GCC compiler I = am in need of it for a project based on U-Boot for the MCF54450<br> <br> =A0<br> What I am exactly looking for is standard libraries written in C which woul= d give me support for printing of doubles (i.e. atof, vsprintf with %f, etc= ..). =A0I need the C source code so I can drop it into our current embedded= system<br> <br> <br> Gregg<br> <br> </blockquote> <br></div> gcc doesn't have a vsprintf function - that's part of the C library= , not the C compiler. =A0So you want to look in the source code for a C lib= rary. =A0Different C libraries have different licenses - you cannot take th= e vsprintf code from the gnu libc and paste it into your code unless your e= ntire code is (L)GPL. =A0An alternative source that might be a better choic= e is newlib (BSD-style license).<br> <br> mvh.,<br> <br> David<br> ---<div><div></div><div class=3D"h5"><br> <a href=3D"mailto:[email protected]" target=3D"_blank">coldfire@wildric= e.com</a> =A0 =A0 =A0 =A0 =A0 =A0 =A0Send a post to the list.<br> <a href=3D"mailto:[email protected]" target=3D"_blank">coldfire-jo= [email protected]</a> =A0 =A0 =A0 =A0Join the list.<br> <a href=3D"mailto:[email protected]" target=3D"_blank">coldfire-= [email protected]</a> =A0 =A0Join the list in digest mode.<br> <a href=3D"mailto:[email protected]" target=3D"_blank">coldfire-l= [email protected]</a> =A0 =A0 Leave the list.<br> <br> </div></div></blockquote></div><br><br clear=3D"all"><br>-- <br>=3D=3D=3D= =3D<br>Q. How many Prolog programmers does it take to change a lightbulb?<b= r>A. No.<br> [email protected]=09Send a post to the list. [email protected]=09Join the list. [email protected]=09Join the list in digest mode. [email protected]=09Leave the list. --0016364270d6d8fa40046607aaa6--