Removing Libraries from Project

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

Removing Libraries from Project

824件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Sal Ammoniac on Fri Dec 02 10:08:36 MST 2011
I'm using LPCXpresso 4.1.0 with an LPC1469 board. I created an LCPXpressio C project in Code Red and specified not to use the Code Red or Newlib libraries.

In the project's "MCU Linker->General" properaties tab I checked the "Do not use default libraries", "No startup or default libs", and the "No shared libraries" options.

Even with these options selected, Code Red still creates a "Test1_Debug_lib.ld" file with this content:

/*
 * GENERATED FILE - DO NOT EDIT
 * (C) Code Red Technologies Ltd, 2008-9
 * Generated linker script library include file for Redlib (none) 
 * (created from redlib_none_c.ld (LPCXpresso v4.1.0 [Build 190] [27/09/2011] ) on Fri Dec 02 06:01:02 PST 2011)
*/

GROUP(libcr_c.a libcr_eabihelpers.a)


The last line causes the linker to try to resolve symbols out of a library somewhere, which I don't want. I can manually delete this line, but get a warning that this is a generated file. When I do this, I can link my project okay.

How do I get Code Red to stop trying to link my code with libcr_c.a and libcr_eabihelpers.a?
0 件の賞賛
返信
1 返信

766件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Fri Dec 02 12:03:37 MST 2011
In the project properties, on the MCU Linker/Target page, you will see a "Use C libraries" setting - set it to No libraries.
0 件の賞賛
返信