c_type librarybeing compiled in

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

c_type librarybeing compiled in

731 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by andy on Thu Feb 03 23:21:55 MST 2011
I have a project which compiles and runs using lpcxpresso under linux (version 3.8.2) which does not compile in the c_type library. so I can reasonably assume it is not needed,  but under windows (version 3.5.0 and 3.6.2)  it does using an additional 824bytes of flash.

is this due to the different versions of gcc and can I add a another compiler option to fix this ?
0 Kudos
Reply
2 Replies

709 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jdseymour on Fri Feb 11 18:04:43 MST 2011
I'm struggling with this same issue. Does anyone know of a workaround to keep the ctype module from being linked in?
0 Kudos
Reply

709 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Fri Feb 04 00:24:52 MST 2011
The Linux version of LPCXpresso uses an updated version of Redlib compared to the Windows version, which provides some code and data size saving from a number of internal changes - including the ctype one that you note.

There is some more information on the new "Redlib_v2" at:

http://support.code-red-tech.com/CodeRedWiki/redlib_v2_notes

We are working at bringing the two versions into line in a forthcoming  new version of the tools. However I can't make any comment at present as  to when this will be released.

Regards,
CodeRedSupport
0 Kudos
Reply