-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathHOWTO
More file actions
26 lines (14 loc) · 846 Bytes
/
HOWTO
File metadata and controls
26 lines (14 loc) · 846 Bytes
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
1. Set up a cross-compile toolchain for powerpc-eabi.
For an example, see http://www.ifp.illinois.edu/~nakazato/tips/xgcc.html
!!!! NOTE !!!!
Make sure to configure gcc with --with-float=soft or running the kernel will cause endless "Floating Point Unavailable" exceptions
2. Download the project somewhere, e.g. ~/projects/ppcOS/
3. Install Virtutech Simics, and create a new workspace in ~/projects/simics-ppc/
4. Extract the newlib package somewhere on your machine
5. Create a build directory for newlib, e.g. ~/projects/newlib/
6. cd ~/projects/newlib/
7. /path/to/newlib/configure --target=powerpc-eabi --prefix=~/projects/ppcOS/newlib --disable-newlib-supplied-syscalls --with-float=soft
8. make
9. make install
10. cd ~/projects/ppcOS/
11. Build the kernel and boot loader with 'make all', and run it with 'make emu'