-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
executable file
·64 lines (39 loc) · 1.92 KB
/
README
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
Hello there.
It is a repository for Phantom OS userland code and cross-development tools.
de-facto it contains kernel sources as well, though.
Code, contained here, is not all we have for Phantom - we upload only
those parts of code which are more or less ready to be co-developed.
Basically, most of code we (the original team) upload is very straighforward
and, sometimes, dumb. That, to some extent, is on purpose. We want to have
a working system first and polish it next. Besides, not all the concepts and
design desicions are final, so it is of no use to finalize all the
implementation desisions now as well.
Code is known to compile successfully with cygwin/linux gcc 4.3.4.
Only ia32 target is most complete and stable, arm port is in active development
but very instable, mips port is just started - compiles and can breath for a
second :), amd64 port is incomplete and does not compile at all.
BUILD
"make all" in trunk
In Windows you will need Cygwin to do that. http://www.cygwin.com
Select, at least: gcc4, subversion, binutils, make, gdb
(see etc/cygwin_get.cmd)
RUN
Run phantom.cmd/phantom.sh in trunk/run
See doc/RUNNING for more details
DEBUG
Run QEMU (see above) and then - gdb in trunk/oldtree/kernel/phantom
Kernel console is logged to trunk/run/serial0.log
Kernel is able to send logging info to syslogd by UDP.
Currently syslogd address is hardcoded in net_misc.c.
DIRECTORIES
trunk/oldtree/kernel/phantom - kernel
trunk/phantom - libs and unix userland (user/apps)
trunk/plib/sys/src - native phantom userland code
trunk/run - QEMU run/test environment
trunk/plc - phantom language compiler / java bytecode translator
DOX
doc/*
http://code.google.com/p/phantomuserland/w/list
Best regards, Dmitry Zavalishin,
Phantom project... how to say... inventor? :)