Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MSYS2 package #3951

Open
dsisnero opened this issue Feb 15, 2018 · 3 comments
Open

MSYS2 package #3951

dsisnero opened this issue Feb 15, 2018 · 3 comments

Comments

@dsisnero
Copy link
Contributor

Not really an issue but I created and got it put into the MSYS2 package system for windows users. To install mruby from windows with the MSYS2 system open msys2 shell and do the following:

pacman -Syu

pacman -Ss mruby
mingw32/mingw-w64-i686-mruby 1.4.0-1
mruby is the lightweight implementation of the Ruby language (mingw-w64)
mingw64/mingw-w64-x86_64-mruby 1.4.0-1 [installed]
mruby is the lightweight implementation of the Ruby language (mingw-w64)

pacman -S mingw-w64-x86_64-mruby

C:\Users\Dominic E Sisneros>mirb
mirb - Embeddable Interactive Ruby Shell

3 + 3
=> 6
exit

C:\Users\Dominic E Sisneros>

@dsisnero
Copy link
Contributor Author

This is what is installed in msys2

pacman -Qlp mingw-w64-x86_64-mruby-1.4.0-1-any.pkg.tar.xz

mingw-w64-x86_64-mruby /mingw64/
mingw-w64-x86_64-mruby /mingw64/bin/
mingw-w64-x86_64-mruby /mingw64/bin/mirb.exe
mingw-w64-x86_64-mruby /mingw64/bin/mrbc.exe
mingw-w64-x86_64-mruby /mingw64/bin/mrdb.exe
mingw-w64-x86_64-mruby /mingw64/bin/mruby-strip.exe
mingw-w64-x86_64-mruby /mingw64/bin/mruby.exe
mingw-w64-x86_64-mruby /mingw64/include/
mingw-w64-x86_64-mruby /mingw64/include/mrbconf.h
mingw-w64-x86_64-mruby /mingw64/include/mruby.h
mingw-w64-x86_64-mruby /mingw64/include/mruby/
mingw-w64-x86_64-mruby /mingw64/include/mruby/array.h
mingw-w64-x86_64-mruby /mingw64/include/mruby/boxing_nan.h
mingw-w64-x86_64-mruby /mingw64/include/mruby/boxing_no.h
mingw-w64-x86_64-mruby /mingw64/include/mruby/boxing_word.h
mingw-w64-x86_64-mruby /mingw64/include/mruby/class.h
mingw-w64-x86_64-mruby /mingw64/include/mruby/common.h
mingw-w64-x86_64-mruby /mingw64/include/mruby/compile.h
mingw-w64-x86_64-mruby /mingw64/include/mruby/data.h
mingw-w64-x86_64-mruby /mingw64/include/mruby/debug.h
mingw-w64-x86_64-mruby /mingw64/include/mruby/dump.h
mingw-w64-x86_64-mruby /mingw64/include/mruby/error.h
mingw-w64-x86_64-mruby /mingw64/include/mruby/gc.h
mingw-w64-x86_64-mruby /mingw64/include/mruby/hash.h
mingw-w64-x86_64-mruby /mingw64/include/mruby/irep.h
mingw-w64-x86_64-mruby /mingw64/include/mruby/istruct.h
mingw-w64-x86_64-mruby /mingw64/include/mruby/khash.h
mingw-w64-x86_64-mruby /mingw64/include/mruby/numeric.h
mingw-w64-x86_64-mruby /mingw64/include/mruby/object.h
mingw-w64-x86_64-mruby /mingw64/include/mruby/opcode.h
mingw-w64-x86_64-mruby /mingw64/include/mruby/proc.h
mingw-w64-x86_64-mruby /mingw64/include/mruby/range.h
mingw-w64-x86_64-mruby /mingw64/include/mruby/re.h
mingw-w64-x86_64-mruby /mingw64/include/mruby/string.h
mingw-w64-x86_64-mruby /mingw64/include/mruby/throw.h
mingw-w64-x86_64-mruby /mingw64/include/mruby/value.h
mingw-w64-x86_64-mruby /mingw64/include/mruby/variable.h
mingw-w64-x86_64-mruby /mingw64/include/mruby/version.h
mingw-w64-x86_64-mruby /mingw64/lib/
mingw-w64-x86_64-mruby /mingw64/lib/libmruby.a
mingw-w64-x86_64-mruby /mingw64/lib/libmruby_core.a

What else is needed? How can a person go from here to using mrbgems? Can we compile mrbgems and the build system into mruby ? Do I need to include the mrbgems directory into the package ?

@ghost
Copy link

ghost commented Feb 16, 2018

I can't answer any of your questions but it's pretty cool that msys works on windows, even though with WSL one can also simply use a *nix-like environment on windows machines these days. (I remember I used the old MSYS to get things to work on windows in the past, but it was not very convenient... still easier than cygwin though).

@graywolf
Copy link
Contributor

Just to react on @ghost , WSL is not silver bullet solving everything. Sometimes msys2 or cygwin are better choice.

I'm not able to help with original question though :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants