<div dir="ltr"><div>Right now this always fails in the step that does:<br></div><div><br></div><div><span style="font-family:monospace">RUN make TARGET=i686-w64-mingw32.static prefix=/usr/local/ rtlib gfxlib2 install-rtlib install-gfxlib2</span></div><div><br></div><div>It fails with this error message about ffi.h<br></div><div><br></div><div><span style="font-family:monospace">CC src/rtlib/obj/win32/sys_portio.o<br>CC src/rtlib/obj/win32/sys_rmdir.o<br>CC src/rtlib/obj/win32/sys_run.o<br>CC src/rtlib/obj/win32/sys_shell.o<br>CC src/rtlib/obj/win32/thread_call.o<br>src/rtlib/thread_call.c:33:17: fatal error: ffi.h: No such file or directory<br>compilation terminated.<br>makefile:554: recipe for target 'src/rtlib/obj/win32/thread_call.o' failed<br>make: *** [src/rtlib/obj/win32/thread_call.o] Error 1<br>The command '/bin/sh -c make TARGET=i686-w64-mingw32.static prefix=/usr/local/ rtlib gfxlib2 install-rtlib install-gfxlib2' returned a non-zero code: 2</span></div><div><br></div><div>libffi-dev is definitely installed, so i don't know what the problem is.</div><div><br></div><div>I tried skipping libffi with CFLAGS=-DDISABLE_FFI per the instructions in <a href="https://rpg.hamsterrepublic.com/ohrrpgce/Cross-compiling">https://rpg.hamsterrepublic.com/ohrrpgce/Cross-compiling</a> but that made no difference.</div><div><br></div><div>I also tried switching from <a href="https://github.com/freebasic/fbc.git">https://github.com/freebasic/fbc.git</a> to <a href="https://github.com/rversteegen/fbc">https://github.com/rversteegen/fbc</a> for the FBC sources, and that didn't help either (unless maybe I needed to use a specific branch?)</div><div><br></div><div>Anyway, I'll look at it more later. This was as far as I got today :D</div><div><br></div><div>---</div><div>James Paige<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Dec 22, 2020 at 3:32 PM <<a href="mailto:subversion@hamsterrepublic.com">subversion@hamsterrepublic.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">james<br>
2020-12-22 12:32:41 -0800 (Tue, 22 Dec 2020)<br>
158<br>
Docker: add a first-draft attempt at an mxe build environment in a docker container.<br>
<br>
This does not work yet, but will provide a base for further improvements<br>
---<br>
A   wip/docker/ohrrpgce-mxe-build-env/<br>
A   wip/docker/ohrrpgce-mxe-build-env/Dockerfile<br>
<br>
_______________________________________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
</blockquote></div>