how to install a basic gcc toolchain? #5898
-
(@rashil2000 please help) I need a basic gcc toolchain (gcc, make, config) to be able to build Perl XS modules. (I made a new question because the old one asked a different thing) |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
@rivy maybe you can help? |
Beta Was this translation helpful? Give feedback.
-
I tried for an hour but faced various problems so I gave up and uninstalled msys2, mingw etc. None of this is needed for Strawberry Perl, which has a minimal toolchain bundled. |
Beta Was this translation helpful? Give feedback.
-
@VladimirAlexiev , what problems did you have with the referenced scoop recipe?
Not really true. I've got full toolchains for clang, gcc, perl, later versions of MSVC, python, and Notably, my PATH is setup with care: a basic system-wide path ( I just install the ezwinports I only rarely use the MSYS/MINGW shell, usually using WSL instead, if needed. I'm not saying that everything will always work seamlessly, but when setup with a few recipe tweaks, I'm able to compile most things without any issues. |
Beta Was this translation helpful? Give feedback.
-
Hi @rivy! I haven't tried your recipe, should I do this to try it?
My problem is that the standard scoop recipe installs Strawberry perl, but omits the toolchain bundled with it:
|
Beta Was this translation helpful? Give feedback.
I tried for an hour but faced various problems so I gave up and uninstalled msys2, mingw etc.
None of this is needed for Strawberry Perl, which has a minimal toolchain bundled.
Although
scoop install perl
also uses Strawberry, it omits this toolchain for some reason.So I gave up and installed Strawberry from their site.