I want to simulate VM from a Spur64VMMaker.image
Unfortunately, it gets really difficult to compile Bochs plugins these days...

WINDOWS (cygwin64):

$ cd processors/IA32/winbochs/
$ source ./conf.COG

checking build system type... ../bochs/config.guess: unable to guess system type

This script, last modified 2002-03-20, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from

ftp://ftp.gnu.org/pub/gnu/config/

If the version you run (../bochs/config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to config-patches@gnu.org in order to provide the needed
information to handle your system.

config.guess timestamp = 2002-03-20

uname -m = x86_64
uname -r = 3.0.7(0.338/5/3)
uname -s = CYGWIN_NT-10.0
uname -v = 2019-04-30 18:08

/usr/bin/uname -p = unknown

MAC (Darwin 17.7.0 Xcode 10.1):

$ cd processors/IA32/macbochs
$ ./conf.COG 

checking build system type... i386-apple-darwin17.7.0
checking host system type... i386-apple-darwin17.7.0
checking target system type... i386-apple-darwin17.7.0
checking if you are configuring for another platform... no
checking for standard CFLAGS on this platform... -fpascal-strings -fno-common -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
cp config.h bochsconfig.h
cp: config.h: No such file or directory
and don't forget to run ../bochs/makeem

LINUX (Ubuntu 18.04 thru WSL)

$ cd processors/IA32/linuxbochs
$ ./conf.COG

checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking if you are configuring for another platform... no
checking for standard CFLAGS on this platform...
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use --host'. See config.log' for more details.
cp config.h bochsconfig.h
cp: cannot stat 'config.h': No such file or directory
and don't forget to run ../bochs/makeem

The problem is that the Bochs copy is super old. So we won't get support for compilation on uptodate machines...
We cannot upgrade easily, since there are COG specific changes requiring to be replayed...
grep -r COG processors\IA32.

I also have doubts about the conf.COG files:
is --disable-x86-64 really what we want?
https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/e77147b63208fb40a9a1712a2d94d369886e91ab/processors/IA32/macbochs/conf.COG
https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/Cog/processors/IA32/macbochs/conf.COG


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.