README-0.4 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. To build this real mode as/ld for x86, just edit Makefile and then
  2. do
  3. make install
  4. It is only tested under SunOS 4.1.3 and Linux.
  5. H.J. Lu
  6. hjl@nynexst.com
  7. 11/21/94
  8. ------
  9. We seem to have cross bin86 for Solaris working. The most important
  10. changes involve alignment (it needs to be on) and byte ordering.
  11. Some of the patches just eliminate compiler warnings (conversion of
  12. pointer to integer without a cast, etc.) and some (in the Makefiles)
  13. reflect the local setup, and can probably be ignored (the change to $BINDIR,
  14. for example).
  15. - Ian (iagoldbe@csclub.uwaterloo.ca)
  16. ----
  17. I modified it for the latest Linux C library 4.5.21 and released it as
  18. bin86 0.1. It is only tested for building the Linux kernel and is not
  19. intended for any other purposes. To build it under Linux, just type
  20. make all
  21. make install
  22. It is not tested for cross-compiling. If you have any patches for
  23. cross-compiling, please send them to me.
  24. Thanks.
  25. H.J. Lu
  26. hjl@nynexst.com
  27. 03/03/94
  28. -------------
  29. This is the as86 and ld86 distribution written by Bruce Evans. It's
  30. copyright Bruce Evans, all rights reserved although you may use and copy
  31. it for your personal use. It's a complete 8086 assembler and loader
  32. which can make 32-bit code for the 386+ processors (under linux it's
  33. used only to create the 16-bit bootsector and setup binaries). The
  34. syntax is not compatible with the GNU assembler, but closer to intel
  35. syntax ("wrong" order of operands etc).
  36. Hints for compiling:
  37. - you'll need the a.out.h-files from the a.out.h directory for the
  38. linker. These aren't really part of the distribution, but I included
  39. them for ease of setup (in case you need to crosscompile etc). Do a
  40. cp a.out.h/* ld/
  41. or similar before compiling the linker.
  42. - the assembler needs the typeconv.o file produced by the linker
  43. compilation. So compile the linker first, and then do a
  44. cp ld/typeconv.o as/
  45. before making the assembler.
  46. This distribution also contains some test-files etc that aren't actually
  47. needed, but as they also give some idea of the assembler syntax, I left
  48. them in. The directories are as follows:
  49. as - the assembler sources (minus typeconv.c)
  50. ld - linker sources
  51. bcc - bruce evans' cc frontend sources (the actual compiler isn't
  52. included).
  53. bccfp - assembly floating point routines written by bruce evans. Note
  54. that these use integer register returns, and won't work with the
  55. linux libraries. They can be used as examples of as86 code.
  56. a.out.h - header files for crosscompilation.
  57. Note that I am NOT the author of this package, but I'll forward any
  58. comments to bruce evans and I'll try to answer any questions about the
  59. assembler/linker I can. I just made it available as bde doesn't have
  60. ftp capability right now. Bruce Evans does have mail as
  61. <bde@runx.oz.au>.
  62. Linus Torvalds