Application: MinGW with MSYS
Category: Development
Description: MinGW is a collection of UNIX tools including the GNU C Compiler and other compilers. MSYS tries to provide useful linux files, for example a shell. [This information will be updated later?!]
Note: This application is not outdated anymore! The MinGW Update is finally done, but I split MinGW and MSYS, so MSYS is not included with MinGW anymore; MSYS Portable will be released at a later time!
Download MinGW Portable Development Test 6b (thanks to Gizmokid2005)
[18,7 MB (19.683.772 Bytes)
download / 173 MB (181.749.207 Bytes)
installed]
(MD5: 961FB3C29A86345D4F0FB970439B5CFA
,
SHA1: B784A1908EC295B33E556D3D4A3DDBA5F5A573B5
)
Release Notes:
- mingw-get (
mingw-get-0.4-mingw32-alpha-1
) - gcc (
gcc-4.6.2-1-mingw32
) - g++ (
gcc-c++-4.6.2-1-mingw32
) - mingw32-make (
make-3.82-5-mingw32
) - gdb (
gdb-7.4-2-mingw32
) - package download cache removed to reduce download size
- package contains most recent package versions from 2012-02-24 21:16 UTC+01:00
History
- Development Test 1 (18.03.2009): Initial release (
"MSYS Portable Development Test 1"
) - Development Test 2 (12.04.2009): Second release (
"MinGW Portable Development Test 2"
) - Development Test 3 (16.04.2009): Third release (
"MinGW Portable Development Test 3"
) - Development Test 4 (23.04.2009): Fourth release (
"MinGW Portable Development Test 4"
) - Development Test 5 (17.05.2009): Fifth release (
"MinGW Portable Development Test 5"
) - Development Test 6 (08.12.2010): Sixth release (
"MinGW Portable Development Test 6"
) - Development Test 6a (20.02.2011): Sixth release, updated (
"MinGW Portable Development Test 6a"
) - Development Test 6b (24.02.2012): Sixth release, updated (
"MinGW Portable Development Test 6b"
)
ChangeLog for MinGW Development Test 6b
- Updated the installer to the most recent version
(2.0.9)
- Updated MinGW and included packages to the current versions
(see Release Notes)
ChangeLog for MinGW Development Test 6a (Archived)
- Updated the installer to the most recent version
(2.0.8)
- Updated MinGW and included packages to the current version
(see Release Notes)
- Changed installation location to
CommonFiles\MinGW
(thanks gluxon) - Updated description (thanks AlleyKat)
- Fixed custom starter script
- Added basic auto-update script for the default packages
ChangeLog for MinGW Development Test 6 (Archived)
- Update the installer to the most recent version
- Updated MinGW to the current version
- Vanillia MinGW installation, no custom tools included
- Removed MSYS from package
- Changed Installer Type to PluginInstaller
- Included a custom command prompt starter script
ChangeLog for MinGW Development Test 5 (Archived)
- Update the installer to the most recent version
- Compiled with John T. Haller's Windows 7 Patch 1
ChangeLog for MinGW Development Test 4 (Archived)
- Corrected the path mistake
- Added a macro for debugging
ChangeLog for MinGW Development Test 3 (Removed)
- Corrected names
- Corrected version numbers of the launchers
- Corrected AppInfo
- Saved a tiny little bit of memory in Command Prompt Portable
- Updated Readme and Help files
ChangeLog for MinGW Development Test 2 (Removed)
- Fixed problems which occur when the drive letter changes
- Added proper version information
- Reviewed appinfo.ini (Category is Development, not Office)
- Changed name to MinGW Portable
- Added Command Prompt Portable
- Provided two seperate launchers - one for MSYS and one for Command Prompt
Known issues
If you have free time and want to help me, please test MinGW Portable
Don't forget to provide a comment describing what you did and which bugs did occur (Don't forget to name your operating system!)
Outdated Links have been archived, please use the current release or browse the Archive.
OK, some random notes as I think of them/notice them, in no particular order:
This should really be called MinGW Portable. MSYS is really mostly irrelevant. X:\PortableApps\MinGWPortable will be used by Code::Blocks Portable and other IDEs as well (which I'm working on). Being MSYSPortable would spoil it in the extreme. Because it's not MSYS. It's MinGW32/MinGW. MSYS is just an RXVT client which uses MinGW to "emulate" linux if you like.
I suggest that you do what I was going to do, which is have an INI switch to select MSYS or a Command Prompt with the MinGW bin directory in the PATH.
I'll look at this when I can download and test it.
Version number? Installer is MSYS_Portable_0.0.1.paf.exe, this should be MinGW_Portable_5.1.4_Development_Test_1.paf.exe (I think that the right version number is 5.1.4?)
You really shouldn't use versions of things which you compiled if you can avoid it, which you can.
Development is the right category.
I am a Christian and a developer and moderator here.
“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1
Code:Blocks is dead, AFAIK. If not, it has serious bugs, making it worthless.
Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world
And what are the serious bugs?
I'm just using it as an example of a C++ IDE. There's also wxDev-C++ (I intend to do that some time) and CodeLite (Zach Thibeau has said he's doing it).
I am a Christian and a developer and moderator here.
“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1
stuff on the host computer . . .
Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world
You mean Code::Blocks Portable. Yeah, ZachHudock dropped it, I'm taking it up again.
It's got to me move-move rather than APPDATA redirect as APPDATA redirect stops the Windows file selection dialogues from working (yes, I tested it)
I am a Christian and a developer and moderator here.
“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1
yeah. I don't like move-move apps though.
And why would I be talking about anything other then the portable version?
Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world
Hey Chris Morgan,
I really think this should be called MSYS Portable because the main thing I do actually is setting up MSYS and launching it. (And cleaning up afterwards.) MinGW is a dependancy and thus it is included. (You wouldn't call Inkscape Portable "GTK Portable" instead, would you?) Maybe i will add a selection for the installer. The directory can already be set in the .ini in the current version.
I didn't provide proper Version info because I have a lot of things to do at the moment. The proper Version information will be included in Development Test 2.
Concerning self-compiled versions of things: on the MSYS Homepage, it is stated that
"The autotools that are installed by MSYS DTK do not work well and can't build DLLs."
I wanted MSYS Portable to be ready to compile right after installing, thus they need to be included. If you think there's another solution, please tell me.
Greetings,
sar3th
EDIT: After talking to Chris Morgan, we finally agreed on the following solution:
The name of MSYS Portable will be MinGW Portable. It will include two launchers, one for MSYS and one for the windows Command Prompt. It will also look for Command Prompt Portable and use its settings.
This new DT should be good, I'll test it soon.
Nice going
I am a Christian and a developer and moderator here.
“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1
I noticed that it was more than twice as big as my previous MinGW package, so I decided to find out why.
You've got ADA and Java support built in, but that's not the nub.
You haven't compressed the app with UPX! You should try compressing it with the PortableApps.com AppCompactor.
Using NRV2E and recompressing ZIP/JARs:
Size Before: 197622 KB
Size After: 149869 KB
Space Saved: 47753 KB
As you can see, this has taken it down to 75.8% of the original size.
However, where this is not so good is in the installer. Before, it's 26.1 MB. After, it's 36.8 MB. 41% larger. But that's one of the trade-offs you have to make.
Then I found a few minor issues with the rest of the package:
Your next installer filename should MinGW_Portable_1.0.10_Development_Test_3.paf.exe (assuming 1.0.10 is the version number you decide to use... the whole thing is a bit messy).
The launchers should both have "1.6.1.0" as their version numbers - that's the PortableApps.com Launcher version number at the moment.
In AppInfo you've got a few issues: the CMD version should be "Command Prompt Portable (MinGW)" (space between Command and Prompt), and MSYSPortable.ico should be appicon1.ico, and CommandPromptPortable.ico should be appicon2.ico.
Edit: in CommandPromptPortable.nsi, you should change PORTABLEAPPNAME to "Command Prompt Portable (MinGW)" and APPNAME to "MinGW", and on lines 89-92, you should change the following:
To the following:
And then you can scrap the "Var PATHENV" line, and not waste a 16 or so bytes of memory by getting $2 filled by the SetEnvironmentVariableA call (that's the turning
r0
inton
bit)I am a Christian and a developer and moderator here.
“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1
I don't think it's useful to UPX the files. UPXed executables often have issues, and i would not want a compiler to be UPXed, since we don't know what can and will happen. I took care of the other points and I will upload Development Test 3 now. (Btw version number is 5.1.4, from MinGW)
Agreed, compression is not something we really want to mess with, especially with this kind of stuff.
Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world
I've just installed this. I haven't any bugs to file, just wanted to say thank you--it appears to be an excellent app and I've been looking for something like this for a long time.
Richard
Works very nicely. Thanks for this.
Guys,
Links at the beginning of the article do not work or contain incorrect version!
I just checked the links, only MaienM's mirror is currently down, the rest of the links are up!
Just the Gizmokid2005 mirror is working now.
Bensawsome's mirror is back up!
Even the Gizmokid2005 mirror is down. There seems to be no method to download at the moment!
Sorry, I'm working on it. My domain expired and I didn't notice before :
Do you have a newer version with gcc 4?
Also I tried in several computers/folders and this not seems to work when the folder where I have it has spaces in the name
(like c:\Documents and Setting\XXX\...)
Thanks for providing this.
Hello skeept,
as I didn't have too much time over the last few months, I don't have a gcc4 release yet..however, if more people request it, I might start working on an update soon.
Drop me a message here if you want me to update this!
I would like an updated version too.
Thanks
I loaded up Dev Test 5, then grabbed the GCC packages from the MinGW site, and updated manually. Worked like a charm.
If you update MSYS as well, you'll want to copy the fstab from Data/settings/etc/fstab to App/MSYS/etc/fstab, or you'll lose your home folder. Also, with an updated MSYS, you'll lose the automatic path update, so you'll need to change fstab manually if you change drive letters.
I hereby announce, that I will develop a update for MinGW Portable, as soon as I return from my vacation. Expect it to be ready in March!
Thanks, hope it goes official.
Could you also rename mingw32-make.exe to make.exe? And all the other mingw32-... stuff too? >_
then change eclipse's config to find mingw32-make, it's best to leave mingw32-make as is
your friendly neighbourhood moderator Zach Thibeau
Bump to promote updated version
I think this one is dead
it's not dead, in fact download is alive and working properly
your friendly neighbourhood moderator Zach Thibeau
This is the correct MinGW Portable.
I am a Christian and a developer and moderator here.
“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1
It doesn't seem to be able to start up.
I am under the impression that mingw-shell is the start program (there are no others in the MinGWPortable folder).
Using Windows XP, and MinGW Portable Development Test 6.
Perhaps there is a working older version I can use?
It's intended to be installed into PortableApps\CommonFiles\MinGWPortable, so it can be used from other applications. It's not meant for seperate use, thus it doesn't come with its own launcher or anything. For convenience, I included a batch file ("mingw-shell.cmd") which will setup the environment for you. If you want to run the tools by yourself, you need to manually start the batch file!
Could this be renamed to PortableApps\CommonFiles\MinGW? To follow through with the style for Java, Aspell, and Perl?
yeah, i'll do that and provide an updated package
Also note that the "application" field still mentions "with MSYS"
thanks, that'll be fixed as well
Bump to promote updated version again! Now comes with an auto-updater
Not considered bumping
Hows the auto-updater handled? Launcher side or MinGW side?
Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world
The auto-updater is a simple batch script which uses mingw-get to fetch updated packages, so it's MinGW-side
make doesn't seem to be represent/working. Is this known? Or is it just part of msys? If yes, how long before a release?
this package includes mingw32-make, and it's working fine. maybe you forgot to use mingw32-make and used make instead? try again with mingw32-make.
i don't know why they named it differently, but they did, and every app i compiled with mingw worked fine with it
the problem with msys is that it's pretty huge and usually not necessary. you can install the desired packages yourself if necessary by running mingw-get from the mingw portable command prompt
ah! that explains it
actually, have you got a release of msys (portable) planned anytime soon? i need the bash features (e.g. ./configure) and the ability to install mingwports (like zlib)
actually, have you got a release of msys (portable) planned anytime soon?
not really, as msys is difficult to fiddle with...i have to throughly investigate it again and then build a launcher which deals with relocation :/ also, i'm still in the exam time, so you can't really expect anything before the end of april.
i need the bash features (e.g. ./configure)
you can manually install msys-core which contains bash. you'll (at least) have to amend your fstab when the drive letter changes. i had this in my old launcher, but i don't know how much i should seperate MinGW and MSYS (i.e. create two seperate packages, only one package or MinGW and MSYS as additional package which integrates into MinGW)
and the ability to install mingwports (like zlib)
what for? in the usual cases, installing mingw32-zlib is what you want
thanks, i'll give this a go
PS: i recommend just 1 package - portable drives are getting quite big now, so some excess stuff probably wouldn't matter too much
Created an account just to say thanks! I appreciate your work on this and I really appreciate you keeping it updated. Again, thanks!
When I change the original path of MinGW Portable
the path change to /MinGW instead of \CommonFiles\MinGW
please fix it!
you did great Job,
hope to see it in Release apps!
thx tal
Can you tell me what exactly you did and what breaks? I'm not sure I understand :/
Neither do I. If you can speak English fluently, please do so.
https://portableapps.com/node/28002#comment-178475
Bumpety-bump. Any updates? How stable is it at this point?
Thanks for your work
And after I had thought of it,
I said, "I will, then, be a toad."
Currently, I have not been working on an update since you can use the included auto-updater to update the application by itself - or does that not work for you? I'm not sure if it makes sense to push an updated package when the updates are not too big (make and gcc have not been updated yet).
About stability: since the MinGW toolchain does not store paths, no modifications have been made to MinGW itself, so the package consists of a typical MinGW installation with the usual unix toolset and two batch files, one for auto-updating and one for launching a command prompt. These two batches should work just fine (tested them on a lot of different systems), so they are stable...the rest depends entirely on MinGW itself, and I haven't had any issues with it so far..
If you find bugs (in the batches) or you need general support, you can always ask here and I'll help you as best as I can.
Great!:) I assumed it was not stable yet because it was in beta. Installing as we speak (figuratively). Any reason it's still in beta?
And after I had thought of it,
I said, "I will, then, be a toad."
1) I'm a slacker, sorry for the late reply. Beta status is only because it's not released yet (see #3)
2) There's not much to do, except to occasionally update the package
3) I haven't had any interest from the release team about a public release, so this will just stay here and wait until they decide it is time
Put it in the RtR apps page and add a note for me to pick it up next.
Previously known as kAlug.
Add it to the Apps Ready For Official Release page, and we'll get to it in due time.
Such is life (and my response as well ).
And after I had thought of it,
I said, "I will, then, be a toad."
you can add also 64bit version.
thanks a lot for your hard work.
http://mingw-w64.sourceforge.net/
Tal.
Hi tal,
sorry for the late reply. Your request is noted and I'll see if i can integrate it. Unfortunately, regular MinGW is a bit different, so I might end up providing a separate package with mingw-w64 :/
Greetings,
sar3th
Hi sar3th (and guys :)),
I hope I'm not being presumptious with this, but I have posted an MSYS Portable release which I have been working with on my own setup for the last few weeks. I have tested it on a few systems, but would like your help and/or advice looking at how it works in general. sar3th, I know you mentioned an upcoming MSYS Portable release, but as I haven't seen much action here recently, I have posted the version which I am currently using for portable development, in the hope that it will garner some interest.
MSYS Portable 1.10.11 Development Test 1
Please give it a go, mention anything that breaks or doesn't work for your setup, and perhaps, alongside sar3th's MinGW, we can get an official release sometime soon.
Cheers
PS Loving the work being done here guys. I now run almost all my apps portably thanks to the hard work done here!
Hi pmwheatley,
MinGW Portable once was a combined package of MinGW and MSYS. However, due to several reasons, it has turned into what it is today - a portable collection of MinGW that is installed into CommonFiles. I was planning to post a MSYS Portable as well some day to merge them back together, but didn't have the time to take care of that and didn't get many requests about it (you can always install msys using the supplied mingw-get tool). If you want to and have more time on your hands than me, feel free to take care of MSYS Portable and get it to integrate with MinGW Portable. Don't worry, I ain't even mad. I will post some suggestions to your thread as well, so you got something to do ;P
Greetings,
sar3th
I successfully used mingw-get to download and install a couple of packages, but they install in /mingw/msys/1.0/bin. The msys shell does not find them, and if I add that to the path, any attempt to run them just hangs the shell. What am I doing wrong?
Also, is there any package for fmt and rsync?
Thanks,
John
Hi John,
to test your problems, i installed msys-core and msys-bash. MSYS installing into a msys subdirectory is done on purpose by mingw-get to make sure that MinGW and MSYS don't accidentally overwrite files. For me, everything seemed to work, but I was not sure what exactly to test. Could you post which packages you installed and add a bit longer description of expected outcome vs actual outcome?
Thanks,
sar3th
I used "mingw-get install msys-vim" and vim installed in /mingw/msys/1.0/bin/ I just realized that my previous attempts to add the /mingw/msys/1.0/bin/ to the path worked correctly, but the executable binaries are not working (I can launch when I cd to the directory, and it hangs. If I hit CTRL-C, I get a windows pop-up that says that "vim has stopped working". There is nothing in /mingw/msys/1.0/lib.
I think it's great that this is now kept separate from MSYS. This allows those of us that already maintain a portable full Cygwin setup to make use of its much wider range of tools - full POSIX environment, but take advantage of an up to date non-cygwin.dll build toolchain.
If all you want to do is make/compile etc, then MSYS is fine, easier and smaller.
MinGW will work fine with either - just google for howtos - this isn't the place to ask how to use the tools generally, just on portability issues - which there shouldn't be any with these types of tools anyway, just incorporate environment variable manipulation into your script/batch launchers.
If you don't know how to do that, this still isn't the place to learn - google is your friend.
To the developer - a suggestion for this page. It's quite difficult to determine from this how up to date this package is {today} as a variable, not 20111222.
Please post a message along the lines of "this package gives you the same versions as those available from the upstreams download site as of {date}".
That way once we've installed your portable package, we can decide whether or not we want to overlay binaries available elsewhere (or build ourselves now that we can?) for some reason.
Thanks
Thank you, I will address that in the next minor release.
Can you update this?
thx
The package has been updated.
that will help me a lot
The download link supplied gives an error 500.
Thanks, it's fixed.
OK, thanks.
can you update?
mingw-get-0.5
thanks for your work.
Tal.
I do some research,
I read here for this:
how-to-update-to-mingw-gcc-4-8-2
and i find out that there is more new mingw ->
MinGW-w64 GCC for both x64 & x86 Windows
with gcc 4.8.2
I try sjlj build with the latest release
MinGW-w64 sjlj build
maybe other build is better, i didn't try.
anyway, i managed to create a portable mingw with gcc 4.8.2, compatible to windows 8.
if you can update for this version, i will be glad,
if not, and it o.k. from you, i will start a new fork of mingw portable.
hope that information is help.
Tal.
Hi Tal,
thanks for your time
I have no plans to maintain a MinGW-w64 build in the near future, as I don't have as much free time as I used to. I will try to post an updated "official" (not in the PortableApps sense!) MinGW soon.
If you wish to fork MinGW Portable, feel free to go ahead! Make sure to leave a message with a forum link here, so I can add it to the first post
Greetings,
sar3th
Hi, S.
Just letting you know I'm using the MinGW toolset actively but not knowingly in a portable sense though now I think of it the environment I'm using it in is actually portable, just not PortableApps style.
What was the original requirement? I'm thinking of a programmer with his (or her) Win specific *nix like stuff attached to their belt going off to seek their fortune like some mythological character. Maybe it is better if I, like a child, never know the prosaic truth
Wm
I wish i had more time.
meanwhile there some curious guys that want to check your version.
I upload it here:
MinGW Portable 5.1.4
If you can change your link at the first post. that will be great.
Hopefully some guy will create from your version and my research a new version of MinGW and will post a link to here.
Thanks for everything
http://sar3th.kicks-ass.net/downloads/PortableApps/MinGWPortable/MinGW_P...
I cannot see this server.
MinGW Portable 5.1.4
Hi there
Is this still being maintained? None of the d/l links at the top or the most recent here at the bottom work. Would be great if someone could provide a working link
~ shnbwmn