<p>I want to simulate VM from a Spur64VMMaker.image<br>
Unfortunately, it gets really difficult to compile Bochs plugins these days...</p>
<p>WINDOWS (cygwin64):</p>
<pre><code>$ cd processors/IA32/winbochs/
$ source ./conf.COG
</code></pre>
<blockquote>
<p>checking build system type... ../bochs/config.guess: unable to guess system type</p>
<p>This script, last modified 2002-03-20, has failed to recognize<br>
the operating system you are using. It is advised that you<br>
download the most up to date version of the config scripts from</p>
<pre><code>ftp://ftp.gnu.org/pub/gnu/config/
</code></pre>
<p>If the version you run (../bochs/config.guess) is already up to date, please<br>
send the following data and any information you think might be<br>
pertinent to <a href="mailto:config-patches@gnu.org">config-patches@gnu.org</a> in order to provide the needed<br>
information to handle your system.</p>
<p>config.guess timestamp = 2002-03-20</p>
<p>uname -m = x86_64<br>
uname -r = 3.0.7(0.338/5/3)<br>
uname -s = CYGWIN_NT-10.0<br>
uname -v = 2019-04-30 18:08</p>
<p>/usr/bin/uname -p = unknown</p>
</blockquote>
<p>MAC (Darwin 17.7.0 Xcode 10.1):</p>
<pre><code>$ cd processors/IA32/macbochs
$ ./conf.COG 
</code></pre>
<blockquote>
<p>checking build system type... i386-apple-darwin17.7.0<br>
checking host system type... i386-apple-darwin17.7.0<br>
checking target system type... i386-apple-darwin17.7.0<br>
checking if you are configuring for another platform... no<br>
checking for standard CFLAGS on this platform... -fpascal-strings -fno-common -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh<br>
checking for gcc... gcc<br>
checking for C compiler default output file name...<br>
configure: error: C compiler cannot create executables<br>
See `config.log' for more details.<br>
cp config.h bochsconfig.h<br>
cp: config.h: No such file or directory<br>
and don't forget to run ../bochs/makeem</p>
</blockquote>
<p>LINUX (Ubuntu 18.04 thru WSL)</p>
<pre><code>$ cd processors/IA32/linuxbochs
$ ./conf.COG
</code></pre>
<blockquote>
<p>checking build system type... x86_64-unknown-linux-gnu<br>
checking host system type... x86_64-unknown-linux-gnu<br>
checking target system type... x86_64-unknown-linux-gnu<br>
checking if you are configuring for another platform... no<br>
checking for standard CFLAGS on this platform...<br>
checking for gcc... gcc<br>
checking for C compiler default output file name... a.out<br>
checking whether the C compiler works... configure: error: cannot run C compiled programs.<br>
If you meant to cross compile, use <code>--host'. See </code>config.log' for more details.<br>
cp config.h bochsconfig.h<br>
cp: cannot stat 'config.h': No such file or directory<br>
and don't forget to run ../bochs/makeem</p>
</blockquote>
<p>The problem is that the Bochs copy is super old. So we won't get support for compilation on uptodate machines...<br>
We cannot upgrade easily, since there are COG specific changes requiring to be replayed...<br>
<code>grep -r COG processors\IA32</code>.</p>
<p>I also have doubts about the <code>conf.COG</code> files:<br>
is <code>--disable-x86-64</code> really what we want?<br>
<a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/e77147b63208fb40a9a1712a2d94d369886e91ab/processors/IA32/macbochs/conf.COG">https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/e77147b63208fb40a9a1712a2d94d369886e91ab/processors/IA32/macbochs/conf.COG</a><br>
<a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/Cog/processors/IA32/macbochs/conf.COG">https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/Cog/processors/IA32/macbochs/conf.COG</a></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/427?email_source=notifications&email_token=AIJPEW26GB45LWTS4CJS7ILQJP3SVA5CNFSM4IWT4NL2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HLKLOZA">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AIJPEW5HKKNNBHMWIHLFVRTQJP3SVANCNFSM4IWT4NLQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AIJPEW2XUSO3H4BJEATLB2LQJP3SVA5CNFSM4IWT4NL2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HLKLOZA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/427?email_source=notifications\u0026email_token=AIJPEW26GB45LWTS4CJS7ILQJP3SVA5CNFSM4IWT4NL2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HLKLOZA",
"url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/427?email_source=notifications\u0026email_token=AIJPEW26GB45LWTS4CJS7ILQJP3SVA5CNFSM4IWT4NL2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HLKLOZA",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>