Switch to cross-compiling (to enable using other libs like va_args and maybe fix the printf %f specifier so the math interpreter could work??)
This commit is contained in:
@@ -36,6 +36,12 @@ git clone https://aur.archlinux.org/bochs.git
|
||||
|
||||
Then follow [these](https://bbs.archlinux.org/viewtopic.php?id=178479) instructions to compile Bochs with X support. Alternatively you can use Bochs with SDL but you'll have to change the `bochsrc.txt` file accordingly.
|
||||
|
||||
### Cross Compiler
|
||||
|
||||
A cross-compiler is needed to build the system. More info on why [here](https://wiki.osdev.org/GCC_Cross-Compiler). In order for the build to work, you will need to download the i386-elf toolchain from [here](https://newos.org/toolchains/i386-elf-7.5.0-Linux-x86_64.tar.xz) and extract the root folder into the BlankOS root folder, or build it by youself if you're not lazy like me.
|
||||
|
||||
Why didn't I use one sooner? Can't tell. Maybe I was too lazy. This is actually problematic because I wasn't able to use some libraries and I had to put in a bunch of weird compilation flags. It's better like this.
|
||||
|
||||
## Building and running
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user