Revise makefile structure.
[pintos-anon] / src / TODO
1 * Get rid of names for synch primitives?  They increase the size of
2   each one by 16 bytes and are probably not that useful.
3   Alternatively make the names pointers?
4
5 * Write, test user programs.
6   - addrspace_load() should return thread's esp.
7   - thread_execute() shouldn't panic on failure (!).
8
9 * Figure out PD/PT management API.
10   - We should document what's in mmu.h.  
11   - pagedir.[ch] is undocumented.
12
13 * Write, test VM.
14
15 * Implement `jitter'.
16
17 * Test list, hash ADTs.
18
19 * Compile and install gdb, dbg versions.
20   - Test gdb version.
21
22 * References/bibliography.
23   - Userprog refers to [SysV-i386].
24
25 * Write "tour".
26
27 ----------------------------------------------------------------------
28
29 * Cygwin support:
30   - PE linker scripts?  Doesn't seem to support ELF ones.
31   - .S files need _ prefixes on symbols.
32
33 * Filesystem dumps should include filehdrs?
34
35 * Cross-compile notes:
36
37 cd /tmp
38 bzcat ~/binutils-2.15.tar.bz2 | tar x
39 tar xzf newlib-1.12.0.tar.gz
40 tar xzf gcc-core-3.3.2.tar.gz
41 tar xzf gdb-6.2.1.tar.gz
42
43 PATH=$PATH:/usr/class/cs140/i386/bin
44
45 cd /tmp/binutils-2.15
46 mkdir i386
47 cd i386
48 ../configure --target=i386-elf --prefix=/usr/class/cs140/i386
49 make LDFLAGS=-lintl
50 make install
51
52 cd /tmp/gcc-core-3.3.2.tar.gz
53 mkdir i386
54 cd i386
55 ../configure --target=i386-elf --prefix=/usr/class/cs140/i386 --with-gnu-as --with-as=/usr/class/cs140/i386/bin/i386-elf-as --with-gnu-ld --with-ld=/usr/class/cs140/i386/bin/i386-elf-ld --with-headers=/tmp/newlib-1.12.0/newlib/libc/include --with-newlib
56 make
57 make install
58
59 cd /tmp/gdb-6.2.1
60 mkdir i386
61 cd i386
62 ../configure --target=i386-elf --prefix=/usr/class/cs140/i386 --disable-tui
63 make
64 make install