Skip to content

Latest commit

 

History

73 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bochscpu-build

Branch Status
main Build
3.1 Build
3.0.x Build

This is a build job for the bochs artifacts for bochscpu. For normal usage you should only need to download a recent release, not build from source yourself.

Build

Requires git and a C compiler

Linux/macOS

$ sh prep.sh
$ cd Bochs/bochs
$ sh .conf.cpu
$ make

Windows

From WSL/Cygwin

$ sh prep.sh
$ cd Bochs/bochs
$ sh .conf.cpu-msvc

From a Visual Studio x64 command prompt

> cd Bochs\bochs
> nmake

Artifacts

This will build the following files:

  • Bochs/bochs/cpu/libcpu.a
  • Bochs/bochs/cpu/fpu/libfpu.a
  • Bochs/bochs/cpu/avx/libavx.a
  • Bochs/bochs/cpu/cpudb/libcpudb.a
  • Bochs/bochs/cpu/softfloat3e/libsoftfloat.a
  • Bochs/bochs source tree

These needs to wind up in a directory tree like this:

x@y:~/bochscpu$ tree bochs
bochs/
└── [... snip many c files here ...]
x@y:~/bochscpu$ tree lib
lib
├── avx.lib
├── cpudb.lib
├── cpu.lib
├── fpu.lib
└── softfloat.lib

On Windows these files will be named object.lib, on linux/macos they will libobject.a. This is done by default by the pipeline script, and you should be able to simply copy the precompiled artifacts into your bochscpu source tree.

About

No description, website, or topics provided.

Resources

Stars

16 stars

Watchers

7 watching

Forks

Releases

Packages

Used by

Contributors

Languages