holyblackcat / quasi-msys2 Goto Github PK
View Code? Open in Web Editor NEWCross-compile C/C++ from Linux to Windows using MSYS2 packages
License: zlib License
Cross-compile C/C++ from Linux to Windows using MSYS2 packages
License: zlib License
Hi! Thanks for an awesome tool, booted it up with no problems. Unfortunately there's a problem with a program I'm trying to build, namely, it compiles and runs some binaries in the process, and the thing is GCC adds .exe
suffix to the binary, but the build scripts are trying to start it without the suffix and failing with "No such file or directory". When using Wine, it does add the suffix automatically when you skip it. Do you think this can be circumvented?
Hey, do you think it is possible to use autotools with quasi-msys2? I've tried make install _autotools
, but it throws an error since it is just metapackage dependant on other packages like autoconf
, automake
etc, all without the prefix (mingw-w64-ucrt
), so one cannot install them separately by hand.
https://packages.msys2.org/package/mingw-w64-x86_64-autotools?repo=mingw64
Makefile:907: *** Unable to execute `bash -c "set -o pipefail && tar -tf 'cache/mingw-w64-x86_64-autotools-2022.01.16-1-any.pkg.tar.zst' --exclude='.*' | grep '[^/]$' | sed 's| |<|g'"`, exit code 1. Stop.
grep
exits with a status of 1 when it has no matches.
Hey, is there a way to install MSYS coreutils? The build process I'm trying to run requires target cat (or rather cat.exe
). Trying to install coreuitls I get
# make install coreutils
Makefile:440: *** Unknown package or package alias: 'coreutils'. Stop.
Makefile:902: *** Unable to execute `make -r __database_nodeps __database_allow_aliases PKG@@coreutils`, exit code 2. Stop.
Clang 16 emits following during compilation: warning: argument unused during compilation: '-rtlib=libgcc'
. Tested on MINGW64 env.
Command make install _gcc _gdb _boost
fails:
$make install _gcc _gdb _boost
Downloading package database...
database.db 100%[============================================================================>] 1,81M 3,03MB/s за 0,6s
Updating keyring...
keyring.original_unfiltered 100%[============================================================================>] 53,59K --.-KB/s за 0,02s
Found keys:
* Alexpux (AD351C50AE085775EB59333B5F92EFC1A47D45A1)
* Elieux (87771331B3F1FF5263856A6D974C8BE49078F532)
* lazka (5F944B027F7FE2091985AA2EFA11531AA0AA7F57)
database.db.sig 100%[============================================================================>] 566 --.-KB/s за 0s
Database signature is valid.
Extracting package database...
Processing package database...
Note: package 'mingw-w64-ucrt-x86_64-curl' has alternative 'mingw-w64-ucrt-x86_64-curl-gnutls'.
Note: package 'mingw-w64-ucrt-x86_64-curl' has alternative 'mingw-w64-ucrt-x86_64-curl-winssl'.
Note: package 'mingw-w64-ucrt-x86_64-libgit2' has alternative 'mingw-w64-ucrt-x86_64-libgit2-winhttp'.
Note: package 'mingw-w64-ucrt-x86_64-libmodplug' has alternative 'mingw-w64-ucrt-x86_64-libopenmpt-modplug'.
Note: package 'mingw-w64-ucrt-x86_64-libssh2' has alternative 'mingw-w64-ucrt-x86_64-libssh2-wincng'.
Note: package 'mingw-w64-ucrt-x86_64-libgnurx' has alternative 'mingw-w64-ucrt-x86_64-libsystre'.
Note: package 'mingw-w64-ucrt-x86_64-lua51' has alternative 'mingw-w64-ucrt-x86_64-luajit'.
Note: package 'mingw-w64-ucrt-x86_64-perl-digest-sha' has alternative 'mingw-w64-ucrt-x86_64-perl'.
Note: package 'mingw-w64-ucrt-x86_64-pkg-config' has alternative 'mingw-w64-ucrt-x86_64-pkgconf'.
Note: package 'mingw-w64-ucrt-x86_64-scotch' has alternative 'mingw-w64-ucrt-x86_64-scotch-int64'.
Note: package 'mingw-w64-ucrt-x86_64-ctags' has alternative 'mingw-w64-ucrt-x86_64-universal-ctags-git'.
Warning: 'mingw-w64-ucrt-x86_64-wxwidgets-common' is provided by both
'mingw-w64-ucrt-x86_64-wxwidgets3.0-msw' (selected by default) and
'mingw-w64-ucrt-x86_64-wxwidgets3.1-msw'
Warning: 'mingw-w64-ucrt-x86_64-wxconfig' is provided by both
'mingw-w64-ucrt-x86_64-wxwidgets3.0-msw' (selected by default) and
'mingw-w64-ucrt-x86_64-wxwidgets3.1-msw'
Warning: 'mingw-w64-ucrt-x86_64-wxwidgets-common' is provided by both
'mingw-w64-ucrt-x86_64-wxwidgets3.0-msw' (selected by default) and
'mingw-w64-ucrt-x86_64-wxwidgets3.2-common'
Warning: 'mingw-w64-ucrt-x86_64-wxconfig' is provided by both
'mingw-w64-ucrt-x86_64-wxwidgets3.0-msw' (selected by default) and
'mingw-w64-ucrt-x86_64-wxwidgets3.2-msw'
Note: see `pacmake help` for instructions on changing alternatives.
Restaring 'make'...
Makefile:436: *** Unknown package: '«~/tmp/quasi-msys2»'. Останов.
Makefile:893: *** Unable to execute `make -r __database_load PKG@@«~/tmp/quasi-msys2»`, exit code 2. Останов.
make --version
output:
GNU Make 4.4
...
Hey! I'm getting the following error with the latest master trying to execute make install _gcc _gdb
:
Downloading package database...
0K .......... .......... .......... .......... .......... 2% 8.82M 0s
50K .......... .......... .......... .......... .......... 5% 10.9M 0s
100K .......... .......... .......... .......... .......... 7% 111M 0s
150K .......... .......... .......... .......... .......... 10% 14.9M 0s
200K .......... .......... .......... .......... .......... 13% 12.2M 0s
250K .......... .......... .......... .......... .......... 15% 34.9M 0s
300K .......... .......... .......... .......... .......... 18% 12.2M 0s
350K .......... .......... .......... .......... .......... 20% 12.9M 0s
400K .......... .......... .......... .......... .......... 23% 89.7M 0s
450K .......... .......... .......... .......... .......... 26% 14.9M 0s
500K .......... .......... .......... .......... .......... 28% 68.4M 0s
550K .......... .......... .......... .......... .......... 31% 12.5M 0s
600K .......... .......... .......... .......... .......... 34% 112M 0s
650K .......... .......... .......... .......... .......... 36% 14.0M 0s
700K .......... .......... .......... .......... .......... 39% 112M 0s
750K .......... .......... .......... .......... .......... 41% 14.0M 0s
800K .......... .......... .......... .......... .......... 44% 137M 0s
850K .......... .......... .......... .......... .......... 47% 10.8M 0s
900K .......... .......... .......... .......... .......... 49% 141M 0s
950K .......... .......... .......... .......... .......... 52% 11.6M 0s
1000K .......... .......... .......... .......... .......... 55% 142M 0s
1050K .......... .......... .......... .......... .......... 57% 11.7M 0s
1100K .......... .......... .......... .......... .......... 60% 126M 0s
1150K .......... .......... .......... .......... .......... 62% 35.4M 0s
1200K .......... .......... .......... .......... .......... 65% 22.6M 0s
1250K .......... .......... .......... .......... .......... 68% 146M 0s
1300K .......... .......... .......... .......... .......... 70% 14.2M 0s
1350K .......... .......... .......... .......... .......... 73% 111M 0s
1400K .......... .......... .......... .......... .......... 76% 21.8M 0s
1450K .......... .......... .......... .......... .......... 78% 48.6M 0s
1500K .......... .......... .......... .......... .......... 81% 39.3M 0s
1550K .......... .......... .......... .......... .......... 83% 22.0M 0s
1600K .......... .......... .......... .......... .......... 86% 45.0M 0s
1650K .......... .......... .......... .......... .......... 89% 27.9M 0s
1700K .......... .......... .......... .......... .......... 91% 38.1M 0s
1750K .......... .......... .......... .......... .......... 94% 46.6M 0s
1800K .......... .......... .......... .......... .......... 97% 37.6M 0s
1850K .......... .......... .......... .......... .......... 99% 21.8M 0s
1900K ..... 100% 111M=0.08sUpdating keyring...
Makefile:241: *** unterminated variable reference. Stop.
Makefile:902: *** Unable to execute `make -r __database_nodeps __database_allow_aliases PKG@@mingw-w64-ucrt-x86_64-gcc PKG@@mingw-w64-ucrt-x86_64-gdb`, exit code 2. Stop.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.