• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

ChangeLogH A D29-Oct-20133.4 KiB13581

MakefileH A D03-May-20221.2 KiB5545

READMEH A D29-Oct-2013823 2819

README-0.4H A D29-Oct-20132.7 KiB8062

README

1
2This is a simple assember and linker for 8086 - 80386 machine code.
3There have been a large number of changes since bin86-0.4 so I strongly
4suggest you read the manpages.
5
6To install:
7   make PREFIX=/usr install
8or
9   make PREFIX=/usr/local install
10
11This version has been tested under Linux, older versions were also tested
12and working under SunOS and AIX.
13
14-------------
15
16This is based on the as86 and ld86 distribution written by Bruce Evans.
17Bruce has released this under the GPL and the changes I've made are
18also under the same license
19
20The BCC components that were distributed in this package are now in
21the dev86 package along with a working C compiler and libc for 8086
22ELKS, DOS and standalone code.
23
24The most recent address I have for Bruce is <bde@FreeBSD.org>
25
26Robert de Bath		<rdebath@poboxes.com>
271998/7/31
28

README-0.4

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