README 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # $Source$
  2. # $State$
  3. # $Revision$
  4. The linux386 platform
  5. =====================
  6. linux386 is an i386-based BSP that produces Linux ELF executables.
  7. This port only implements a very limited number of system calls; basically,
  8. just enough to make the demo apps run. Adding more is easy, but there are some
  9. subtleties that require more thought. The port should be considered only in
  10. proof-of-concept stage right now.
  11. Important note: you *can't* link access ELF shared libraries from these
  12. executables. In other words, you have to all your work from inside ACK.
  13. The executables are generated with aelfslod and are extremely simple; there's
  14. one rwx ELF section which contains all the application's code and data. This
  15. is not optimal, but it does work.
  16. Bugs
  17. ====
  18. isatty() is a stub and always returns 0.
  19. Example command line
  20. ====================
  21. ack -mlinux386 -O -o linux386.exe examples/paranoia.c
  22. The file linux386.exe can then be run on a i386 Linux machine (or on an
  23. emulation thereof).
  24. David Given
  25. dg@cowlark.com