stdio.h....for printf(),sprintf() support on Newlib(None)...

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

stdio.h....for printf(),sprintf() support on Newlib(None)...

1,290件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by chintan.parmar on Sat Oct 27 00:08:55 MST 2012
Hello Every one,

I am using LPCExpressso_V4.3.

I want to use stdio.h for printf(),sprintf() function through newlib....
As per mention changes on code_red...i have switched from Redlib to newlib.

but i am getting error that is mentioned below:

sbrkr.c:(.text+0x18): undefined reference to `_sbrk'......so many undefined reference show......:confused::confused:

i have already...libm.a = C:\nxp\LPCXpresso_4.3.0_1023\lpcxpresso\Tools\arm-none-eabi\lib
to
Properties->Settings->Tool Settings->MCU Linker->Libraries->Library search path

but still
libm.a file isnot getting....:confused:
what is solution????


Please solve my problem as soon as possible....
0 件の賞賛
返信
2 返答(返信)

1,128件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Sat Oct 27 08:46:25 MST 2012
Suggest you read this, to discover the difference between the none, nohost and semihost libraries.
http://support.code-red-tech.com/CodeRedWiki/LibraryVariants
0 件の賞賛
返信

1,128件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ex-kayoda on Sat Oct 27 01:06:38 MST 2012
Newlib(None) is not including this functions :eek:

http://support.code-red-tech.com/CodeRedWiki/UndefinedReference
0 件の賞賛
返信