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