Linking for the Device

Using the -l command option, apps should not link to, or call functions from, libraries that are not on the following whitelist of libraries that came with the PDK:

  • libSDL-1.2.so.0
  • libSDL-1.2.so.0.11.2
  • libSDL.so
  • libSDL_image-1.2.so.0
  • libSDL_cinema.so (SDL_cinema (HP))
  • libSDL_mixer-1.2.so.0
  • libSDL_net-1.2.so.0
  • libSDL_ttf-2.0.so.0
  • libpdl.so (Palm Development Library)
  • libGLES_CM.so
  • libGLESv2.so
  • libgcc_s.so.1
  • libcrypto.so
  • libc.so.6
  • libm.so.6 (math functions)
  • libstdc++.so.6
  • libpthread.so.0 (POSIX threads)
  • libz.so
  • libz.so.1

This guarantees your apps will run on the device and be forward-compatible with future versions of device run-time libraries. Note that this is enforced through the app submission checker.