bin86 0.2 is released.
H.J. Lu
hjl@nynexst.com
Mon Nov 21 20:09:00 GMT 1994
> We seem to have cross bin86 for Solaris working. The most important
> changes involve alignment (it needs to be on) and byte ordering.
> Some of the patches just eliminate compiler warnings (conversion of
> pointer to integer without a cast, etc.) and some (in the Makefiles)
> reflect the local setup, and can probably be ignored (the change to $BINDIR,
> for example).
>
Thanks a lot. I release it as bin86 0.2 with some minor modifications.
The primary ftp sites for the compiler/C library are tsx-11.mit.edu
under pub/linux/packages/GCC/private/dontuse and sunsite.unc.edu under
pub/Linux/GCC/private/dontuse. The two secondary ftp sites are
i44s10.info.uni-karlsruhe.de under pub/linux/libc/private/dontuse and
ftp.ctd.comsat.com under pub/linux/alpha.
Gals, Guys, I'd like to hear the cross-compile kernel stories. I
tried it under SunOS 4.1.3. But the kernel code has a few endian
dependent code in ./zBoot.
H.J.
------
To build this real mode as/ld for x86, just edit Makefile and then
do
make install
It is only tested under SunOS 4.1.3 and Linux.
H.J. Lu
hjl@nynexst.com
11/21/94
------
We seem to have cross bin86 for Solaris working. The most important
changes involve alignment (it needs to be on) and byte ordering.
Some of the patches just eliminate compiler warnings (conversion of
pointer to integer without a cast, etc.) and some (in the Makefiles)
reflect the local setup, and can probably be ignored (the change to $BINDIR,
for example).
- Ian (iagoldbe@csclub.uwaterloo.ca)
----
I modified it for the latest Linux C library 4.5.21 and released it as
bin86 0.1. It is only tested for building the Linux kernel and is not
intended for any other purposes. To build it under Linux, just type
make all
make install
It is not tested for cross-compiling. If you have any patches for
cross-compiling, please send them to me.
Thanks.
H.J. Lu
hjl@nynexst.com
03/03/94
-------------
This is the as86 and ld86 distribution written by Bruce Evans. It's
copyright Bruce Evans, all rights reserved although you may use and copy
it for your personal use. It's a complete 8086 assembler and loader
which can make 32-bit code for the 386+ processors (under linux it's
used only to create the 16-bit bootsector and setup binaries). The
syntax is not compatible with the GNU assembler, but closer to intel
syntax ("wrong" order of operands etc).
Hints for compiling:
- you'll need the a.out.h-files from the a.out.h directory for the
linker. These aren't really part of the distribution, but I included
them for ease of setup (in case you need to crosscompile etc). Do a
cp a.out.h/* ld/
or similar before compiling the linker.
- the assembler needs the typeconv.o file produced by the linker
compilation. So compile the linker first, and then do a
cp ld/typeconv.o as/
before making the assembler.
This distribution also contains some test-files etc that aren't actually
needed, but as they also give some idea of the assembler syntax, I left
them in. The directories are as follows:
as - the assembler sources (minus typeconv.c)
ld - linker sources
bcc - bruce evans' cc frontend sources (the actual compiler isn't
included).
bccfp - assembly floating point routines written by bruce evans. Note
that these use integer register returns, and won't work with the
linux libraries. They can be used as examples of as86 code.
a.out.h - header files for crosscompilation.
Note that I am NOT the author of this package, but I'll forward any
comments to bruce evans and I'll try to answer any questions about the
assembler/linker I can. I just made it available as bde doesn't have
ftp capability right now. Bruce Evans does have mail as
<bde@runx.oz.au>.
Linus Torvalds
More information about the Gas2
mailing list