williballenthin / siglib

function identification signatures
Apache License 2.0
11 stars 1 forks source link

install compilers via WINE for use in CI? #13

Open williballenthin opened 3 years ago

williballenthin commented 3 years ago

I'm not sure we'll reasonably be able to get all the compilers (like VS6) working in the Windows Docker image, esp since I'm a n00b at using Windows headless.

I wonder if we can get the compilers installed under Linux via WINE and then capture this in a Docker container that we can re-use in CI.

mr-tz commented 3 years ago

for Mingw could we use https://launchpad.net/ubuntu/hirsute/+package/mingw-w64-i686-dev / https://launchpad.net/ubuntu/hirsute/+package/mingw-w64-x86-64-dev?

$ ls .../data/usr/i686-w64-mingw32/lib/
binmode.o*           libcomdlg32.a*        libd3dx10_36.a*  libdcomp.a*      libesent.a*        libm.a*             libmsvcr90d.a*   libportabledeviceguids.a*  libslc.a*               libvssapi.a*            libwmcodecdspuuid.a*
CRT_fp10.o*          libconnect.a*         libd3dx10_37.a*  libddraw.a*      libevr.a*          libmapi32.a*        libmsvcrt.a*     libpowrprof.a*             libslcext.a*            libwbemuuid.a*          libwmilib.a*
CRT_fp8.o*           libcredui.a*          libd3dx10_38.a*  libdelayimp.a*   libfaultrep.a*     libmcd.a*           libmsvcrt-os.a*  libprntvpt.a*              libslwga.a*             libwdsclient.a*         libwow32.a*
CRT_glob.o*          libcrtdll.a*          libd3dx10_39.a*  libdevmgr.a*     libfwpuclnt.a*     libmf.a*            libmsvfw32.a*    libpropsys.a*              libsnmpapi.a*           libwdsclientapi.a*      libws2_32.a*
CRT_noglob.o*        libcrypt32.a*         libd3dx10_40.a*  libdevobj.a*     libgdi32.a*        libmfcuia32.a*      libmswsock.a*    libpsapi.a*                libspoolss.a*           libwdscore.a*           libwsdapi.a*
crt1.o*              libcryptnet.a*        libd3dx10_41.a*  libdevrtl.a*     libgdiplus.a*      libmfplat.a*        libncrypt.a*     libpseh.a*                 libsrvcli.a*            libwdscsl.a*            libwsnmp32.a*
crt1u.o*             libcryptsp.a*         libd3dx10_42.a*  libdfscli.a*     libglaux.a*        libmfreadwrite.a*   libnddeapi.a*    libpthread.a*              libsspicli.a*           libwdsimage.a*          libwsock32.a*
crt2.o*              libcryptxml.a*        libd3dx10_43.a*  libdhcpcsvc.a*   libglu32.a*        libmfuuid.a*        libndfapi.a*     libpthread.dll.a*          libstrmiids.a*          libwdstptc.a*           libwst.a*
crt2u.o*             libcscapi.a*          libd3dx11.a*     libdhcpcsvc6.a*  libglut.a*         libmgmtapi.a*       libndis.a*       libquartz.a*               libsvrapi.a*            libwdsupgcompl.a*       libwtsapi32.a*
crtbegin.o*          libctl3d32.a*         libd3dx11_42.a*  libdhcpsapi.a*   libglut32.a*       libmincore.a*       libnetapi32.a*   libqutil.a*                libsxs.a*               libwdsutil.a*           libx3daudio.a*
crtend.o*            libd2d1.a*            libd3dx11_43.a*  libdinput.a*     libgmon.a*         libmingw32.a*       libnetio.a*      libqwave.a*                libsynchronization.a*   libwebsocket.a*         libx3daudio1_2.a*
dllcrt1.o*           libd3d10.a*           libd3dx8d.a*     libdinput8.a*    libgpapi.a*        libmingwex.a*       libnetjoin.a*    librapi.a*                 libt2embed.a*           libwecapi.a*            libx3daudio1_3.a*
dllcrt2.o*           libd3d11.a*           libd3dx9.a*      libdismapi.a*    libgpedit.a*       libmingwthrd.a*     libnetutils.a*   librasapi32.a*             libtapi32.a*            libwer.a*               libx3daudio1_4.a*
gcrt0.o*             libd3d12.a*           libd3dx9_24.a*   libdlcapi.a*     libgpprefcl.a*     libmmdevapi.a*      libnewdev.a*     librasdlg.a*               libtaskschd.a*          libwevtapi.a*           libx3daudio1_5.a*
gcrt1.o*             libd3d8.a*            libd3dx9_25.a*   libdmoguids.a*   libgpscript.a*     libmoldname.a*      libnormaliz.a*   libresutil.a*              libtbs.a*               libwevtfwd.a*           libx3daudio1_6.a*
gcrt2.o*             libd3d9.a*            libd3dx9_26.a*   libdnsapi.a*     libgptext.a*       libmpr.a*           libntdll.a*      librpcdce4.a*              libtdh.a*               libwiadss.a*            libx3daudio1_7.a*
libaclui.a*          libd3dcompiler.a*     libd3dx9_27.a*   libdpapi.a*      libhal.a*          libmprapi.a*        libntdllcrt.a*   librpcdiag.a*              libtdi.a*               libwimgapi.a*           libx3daudiod1_7.a*
libactiveds.a*       libd3dcompiler_33.a*  libd3dx9_28.a*   libdplayx.a*     libhid.a*          libmqrt.a*          libntdsapi.a*    librpchttp.a*              libtxfw32.a*            libwin32k.a*            libxapofx.a*
libadsldpc.a*        libd3dcompiler_34.a*  libd3dx9_29.a*   libdpnaddr.a*    libhidclass.a*     libmsacm32.a*       libntmsapi.a*    librpcns4.a*               libucrt.a*              libwin32spl.a*          libxapofx1_0.a*
libadvapi32.a*       libd3dcompiler_35.a*  libd3dx9_30.a*   libdpnet.a*      libhidparse.a*     libmscms.a*         libntoskrnl.a*   librpcrt4.a*               libucrtapp.a*           libwindowsapp.a*        libxapofx1_1.a*
libamstrmid.a*       libd3dcompiler_36.a*  libd3dx9_31.a*   libdpnlobby.a*   libhtmlhelp.a*     libmsctf.a*         libodbc32.a*     librstrtmgr.a*             libucrtbase.a*          libwindowsappcompat.a*  libxapofx1_2.a*
libapcups.a*         libd3dcompiler_37.a*  libd3dx9_32.a*   libdpvoice.a*    libhttpapi.a*      libmsctfmonitor.a*  libodbccp32.a*   librtm.a*                  liburl.a*               libwindowscodecs.a*     libxapofx1_3.a*
libauthz.a*          libd3dcompiler_38.a*  libd3dx9_33.a*   libdsetup.a*     libicmui.a*        libmsdmo.a*         libole32.a*      librtutils.a*              liburlmon.a*            libwinhttp.a*           libxapofx1_4.a*
libavicap32.a*       libd3dcompiler_39.a*  libd3dx9_34.a*   libdsound.a*     libigmpagnt.a*     libmsdrm.a*         liboleacc.a*     libruntimeobject.a*        libusbcamd.a*           libwininet.a*           libxapofx1_5.a*
libavifil32.a*       libd3dcompiler_40.a*  libd3dx9_35.a*   libdsrole.a*     libimagehlp.a*     libmshtml.a*        liboleaut32.a*   libsamcli.a*               libusbcamd2.a*          libwinmm.a*             libxapofxd1_5.a*
libavrt.a*           libd3dcompiler_41.a*  libd3dx9_36.a*   libdssec.a*      libimm32.a*        libmshtmled.a*      libolecli32.a*   libsapi.a*                 libusbd.a*              libwinpthread.a*        libxaudio2_8.a*
libbcrypt.a*         libd3dcompiler_42.a*  libd3dx9_37.a*   libdwmapi.a*     libiphlpapi.a*     libmsi.a*           liboledlg.a*     libschannel.a*             libusbport.a*           libwinpthread.dll.a*    libxinput.a*
libbluetoothapis.a*  libd3dcompiler_43.a*  libd3dx9_38.a*   libdwrite.a*     libiscsidsc.a*     libmsimg32.a*       libolepro32.a*   libschedcli.a*             libuser32.a*            libwinpthread-1.dll*    libxinput1_1.a*
libbootvid.a*        libd3dcompiler_46.a*  libd3dx9_39.a*   libdxapi.a*      libkernel32.a*     libmsoledbsql.a*    libolesvr32.a*   libscrnsave.a*             libuserenv.a*           libwinscard.a*          libxinput1_2.a*
libbrowcli.a*        libd3dcompiler_47.a*  libd3dx9_40.a*   libdxerr8.a*     libks.a*           libmstask.a*        libolethk32.a*   libscrnsavw.a*             libusp10.a*             libwinspool.a*          libxinput1_3.a*
libbthprops.a*       libd3dcsx_46.a*       libd3dx9_41.a*   libdxerr9.a*     libksecdd.a*       libmsvcp120_app.a*  libopengl32.a*   libscsiport.a*             libuuid.a*              libwinstorecompat.a*    libxinput1_4.a*
libcabinet.a*        libd3dcsxd.a*         libd3dx9_42.a*   libdxgi.a*       libksguid.a*       libmsvcp60.a*       libp2p.a*        libsecur32.a*              libuxtheme.a*           libwinstrm.a*           libxinput9_1_0.a*
libcap.a*            libd3dcsxd_43.a*      libd3dx9_43.a*   libdxguid.a*     libksproxy.a*      libmsvcr100.a*      libp2pcollab.a*  libsecurity.a*             libvcruntime140_app.a*  libwintrust.a*          txtmode.o*
libcfgmgr32.a*       libd3dim.a*           libd3dx9d.a*     libdxva2.a*      libksuser.a*       libmsvcr110.a*      libp2pgraph.a*   libsensorsapi.a*           libvdmdbg.a*            libwinusb.a*
libclasspnp.a*       libd3drm.a*           libd3dxof.a*     libeappcfg.a*    libktmw32.a*       libmsvcr120.a*      libpcwum.a*      libsetupapi.a*             libversion.a*           libwkscli.a*
libclfsw32.a*        libd3dx10.a*          libdavclnt.a*    libeappgnui.a*   liblargeint.a*     libmsvcr120_app.a*  libpdh.a*        libshcore.a*               libvfw32.a*             libwlanapi.a*
libclusapi.a*        libd3dx10_33.a*       libdavhlpr.a*    libeapphost.a*   liblocationapi.a*  libmsvcr120d.a*     libpdhui.a*      libshell32.a*              libvideoprt.a*          libwlanui.a*
libcmutil.a*         libd3dx10_34.a*       libdbgeng.a*     libeappprxy.a*   liblogoncli.a*     libmsvcr80.a*       libpenwin32.a*   libshfolder.a*             libvirtdisk.a*          libwlanutil.a*
libcomctl32.a*       libd3dx10_35.a*       libdbghelp.a*    libelscore.a*    liblz32.a*         libmsvcr90.a*       libpkpd32.a*     libshlwapi.a*              libvss_ps.a*            libwldap32.a*
$ grep -Eir "mainCRT" .../data/usr/i686-w64-mingw32/lib/
Binary file /cygdrive/c/Users/moritz.raabe/Downloads/Exclusions/data/usr/i686-w64-mingw32/lib/crt1.o matches
Binary file /cygdrive/c/Users/moritz.raabe/Downloads/Exclusions/data/usr/i686-w64-mingw32/lib/crt1u.o matches
Binary file /cygdrive/c/Users/moritz.raabe/Downloads/Exclusions/data/usr/i686-w64-mingw32/lib/crt2.o matches
Binary file /cygdrive/c/Users/moritz.raabe/Downloads/Exclusions/data/usr/i686-w64-mingw32/lib/crt2u.o matches
Binary file /cygdrive/c/Users/moritz.raabe/Downloads/Exclusions/data/usr/i686-w64-mingw32/lib/dllcrt1.o matches
Binary file /cygdrive/c/Users/moritz.raabe/Downloads/Exclusions/data/usr/i686-w64-mingw32/lib/dllcrt2.o matches
Binary file /cygdrive/c/Users/moritz.raabe/Downloads/Exclusions/data/usr/i686-w64-mingw32/lib/libwinpthread-1.dll matches