summaryrefslogtreecommitdiff
path: root/README
blob: d117a44dcdcfb2fb4c05f4687f7aa9515e486b2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
This is a development environment for ELKS-86

You have to do make install as root
Or:

$ make bcc
$ su -c "make install-bcc"
$ make library
$ su -c "make install-lib"
$ make elksemu
$ su -c "make install-emu"
$ make tests

All from the top directory.
Once this is done new files will be /lib/elksemu, /usr/bcc/* and /usr/bin/bcc

The bcc command defaults to using /usr/bcc/include and /usr/bcc/lib. Beware
that /usr/bcc/include is a symlink into this directory.

The as86 and ld86 with this are _different_ from the ones needed for the
linux-i386 kernel but can replace them, the kernel-i386 ones _will_ _not_
work correctly here!

To compile the various tools as Linux-8086 binaries cd into the relevent
directory and do a "make clean ; make" from there, note you'll have to
do "ld" before "as". Currently bcc won't work this way.

I _strongly_ suggest you install the kernel patch in the elksemu directory
in your Linux-i386 kernel, it makes things _far_ easier.

-Rob.