static linking libc.

Daniel Waddington daniel.waddington at ...161...
Fri Mar 29 17:08:23 CET 2013


Hi Norman,
This sort of works. I made libc, libm and stdcxx static.  Trouble is, 
you have to remove libm because of symbol duplication, then you can't 
get to some of the libm functions (e..g, sqrt).

Daniel

> Generally, this is possible by removing the 'SHARED_LIB = yes'
> declaration from the respective build-description file. In your case,
> that would be 'libports/lib/mk/libc.mk'.
>
> Cheers
> Norman
>





More information about the users mailing list