Libraries

Libraries are a collection similar of Lightfoot object files (.lfo) files that are grouped together into one Lightfoot library file (.lfl). The linker searches library files for unresolved references while building an application.
The Lightfoot SDK comes with a large number of libraries in two forms, debug and non debug.

Debug libraries

The debug libraries provided with Lightfoot contain diagnostics that can be enabled at runtime to diagnose and solve problems. For those libraries with source code available, you can also debug the library routines.

Non debug libraries.

Non debug libraries contain no diagnostics and cannot be debugged. Your applications should always link against non debug libraries unless you suspect there are problems with the libraries.

Libraries provided with the SDK

The following table lists the libraries provided with the SDK.
Library
Description
ansi
ANSI C functionality
cruntime
C application startup functionality
dct_cldc
CLDC 1.1. compatibility
dct_cldc_no_float
CLDC 1.1 with no floating point support compatibility
dct_midp
MIDP 1.0 compatability
debugger
Hardware debugging
diagnostics
C diagnostic support
diag_lowlevel
Low level diagnostics
dynamic
Dynamic class loading
ftpserver
Example ftp server with source in examples directory
isr
Interrupt service routines
jar
Java ARchive functionality
java
Java runtime support
java_comm
Java comm API
java_hardware
Java hardware access API
jmemory
Java memory routines
jreceiver
JReceiver client library with source in examples directory
jucos
Java LightOS runtime library
keyboard_Full
Full PC keyboard support for X and MIDP compatible applications
keyboard_ITUT
ITUT numeric keyboard support for X and MIDP compatible applications
kxml
XML functionality with source in examples directory
kxmlrpc
XML-RPC functionality with source in examples directory
msgc
Mark and sweep garbage collector
png
PNG decoding support
progflashserver
Remote upgrading of flash image
sgc
Simple garbage collector
stream
Simple stream support (deprecated)
stubs
Stubs library to resolve referenced symbols when functionality is not required. This always comes as the end of a link line
tcpip
TCP/IP functionality
ucos
LightOS Real Time Operating System, based on uC/OS
vdevices
Virtual devices
x11
X11 client API
xlcd
LCD API
z
Zlib compression API to support PNG