Actions
| Post | |
| Subscribe | |
| Unsubscribe |
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[arm-gnu] sprintf with arm-none-eabi-gcc
- To: <arm-gnu@xxxxxxxxxxxxxxxx>
- Subject: [arm-gnu] sprintf with arm-none-eabi-gcc
- From: "Aditya N Pandit" <adoo192@xxxxxxxxxxxxxx>
- Date: 30 Jun 2009 11:25:02 -0000
hi,
How to get sprintf working with code-sourcery arm-none-eabi-gcc
toolchain.
Using sprintf in the code gives errors about "undefined reference to
sprint"
------------------------------
#include
#include "MX21.h"
int main ()
{
char sMessage[10];
int i;
i= sprintf(sMessage,"%x",15);
return (0);
}
-----------------------------------
I have included the path for stdio.h for arm-none-eabi-gcc.
And there are no other warnings/errors.
Thanks & regards
Aditya
- Follow-Ups:
- Re: [arm-gnu] sprintf with arm-none-eabi-gcc
- From: Mark Mitchell
- Re: [arm-gnu] sprintf with arm-none-eabi-gcc
- Prev by Date: Re: [arm-gnu] : Incomplete Backtrace / Stack unwinding information for stripped application
- Next by Date: Re: [arm-gnu] sprintf with arm-none-eabi-gcc
- Previous by thread: Re: [arm-gnu] sprintf with arm-none-eabi-gcc
- Next by thread: Re: [arm-gnu] sprintf with arm-none-eabi-gcc
- Index(es):