Get the new PortableApps.com Platform 12.0.3. Better, stronger, faster, and prettier. Download Now or Buy on a Flash Drive
Instant access to over 300 free and legal portable apps (over 9GB) including the new Solfege (Aug 30, 2014)
PortableApps.com needs your help: Please consider making a donation today

MinGW Portable Development Test 6b (formerly MSYS Portable)

sar3th's picture
sar3th (Homepage) - March 18, 2009 - 1:26pm
Share on Facebook

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 Eye-wink
  • 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 Smiling
Don't forget to provide a comment describing what you did and which bugs did occur Smiling (Don't forget to name your operating system!)
Outdated Links have been archived, please use the current release or browse the Archive.


( categories: )

Notes

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.

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

Not dead

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 .

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

Oh

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

yeah. I don't like move-move apps though.

And why would I be talking about anything other then the portable version? Sticking out tongue

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

re: notes

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.

Good!

This new DT should be good, I'll test it soon.

Nice going Smiling

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

Compression

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:

	;Set New Path
		ReadEnvStr $PATHENV "PATH"
		StrCpy $PATHENV `$PATHENV;"$EXEDIR\App\MinGW\bin`
		System::Call 'Kernel32::SetEnvironmentVariableA(t, t) i("PATH", "$PATHENV").r0'

To the following:

	;===Put MinGW into the PATH
		ReadEnvStr $0 "PATH"
		System::Call 'Kernel32::SetEnvironmentVariableA(t, t) i("PATH", "$EXEDIR\App\MinGW\bin;$0").n'

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 into n bit) Sticking out tongue

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

Compression

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

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

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

Works very nicely. Thanks for this.

Links do not work or contain incorrect version

Guys,

Links at the beginning of the article do not work or contain incorrect version!

I just checked the links,

I just checked the links, only MaienM's mirror is currently down, the rest of the links are up!

Links

Just the Gizmokid2005 mirror is working now. Sad

Thanks, fixed

Bensawsome's mirror is back up! Smiling

links not working

Even the Gizmokid2005 mirror is down. There seems to be no method to download at the moment! Shocked

RE: down

Sorry, I'm working on it. My domain expired and I didn't notice before :<

New Version?

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.

MinGW Portable w/ gcc4

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! Smiling

MinGW Portable w/ gcc4

I would like an updated version too.

Thanks Smiling

Manual update to GCC 4

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.

Updated version

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! Smiling

Update

Thanks, hope it goes official. Eye-wink

Could you also rename

Could you also rename mingw32-make.exe to make.exe? And all the other mingw32-... stuff too? >_<

A bunch of Eclipse users are having trouble using the built in C++ compiler because Eclipse can't find make.exe

Siggys waste bandwidth... that's why I have one.

then change eclipse's config

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

Bump to promote updated version Smiling

I think this one is dead

I think this one is dead

it's not dead, in fact

it's not dead, in fact download is alive and working properly

your friendly neighbourhood moderator Zach Thibeau

No

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

Is it broken?

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 works as intended

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

Could this be renamed to PortableApps\CommonFiles\MinGW? To follow through with the style for Java, Aspell, and Perl?

Siggys waste bandwidth... that's why I have one.

yeah, i'll do that and

yeah, i'll do that and provide an updated package

Also note that the

Also note that the "application" field still mentions "with MSYS" Eye-wink

thanks, that'll be fixed as

thanks, that'll be fixed as well Smiling

Bump to promote updated

Bump to promote updated version again! Now comes with an auto-updater Smiling

Not considered bumping Hows

Not considered bumping Smiling

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

The auto-updater is a simple batch script which uses mingw-get to fetch updated packages, so it's MinGW-side

Make?

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? Smiling

make?

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 Smiling

ah! that explains it

ah! that explains it Smiling
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)

release plan

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

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

Thank you!

Created an account just to say thanks! I appreciate your work on this and I really appreciate you keeping it updated. Again, thanks!

Small Fix

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 Smiling

debugging

Can you tell me what exactly you did and what breaks? I'm not sure I understand :/

Neither do I. If you can

Neither do I. If you can speak English fluently, please do so.

http://portableapps.com/node/28002#comment-178475

Siggys waste bandwidth... that's why I have one.

Updates?

Bumpety-bump. Any updates? How stable is it at this point?
Thanks for your work Smiling

And after I had thought of it,
I said, "I will, then, be a toad."

Current state

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.

Oh!

Great!Smiling 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."

Reasons this is still beta

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 Eye-wink

#3

Put it in the RtR apps page and add a note for me to pick it up next.

Previously known as kAlug.

#3

Add it to the Apps Ready For Official Release page, and we'll get to it in due time.

No Problem

Such is life (and my response as well Smiling ).

And after I had thought of it,
I said, "I will, then, be a toad."

you can add also

you can add also 64bit version.
thanks a lot for your hard work.

http://mingw-w64.sourceforge.net/

Tal.

RE: mingw-w64

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

MSYS Portable

Hi sar3th (and guys Smiling),

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!

Re: MSYS Portable

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

How to install items with mingw-get?

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

Re: How to install items with mingw-get?

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

Re: How to install items with mingw-get?

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.

Use with Cygwin

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

RE: Suggestion

Thank you, I will address that in the next minor release.

Hi

Can you update this? Smiling
thx

Re: Hi

The package has been updated.

thx

that will help me a lot Smiling

Download link

The download link supplied gives an error 500.

Re: Download link

Thanks, it's fixed.

Thanks

OK, thanks.

mingw-get-0.5-beta-20120426-1

can you update?
mingw-get-0.5

thanks for your work.
Tal.

this mingw is not compatible with windows 8

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.

RE: research

Hi Tal,
thanks for your time Smiling
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 Smiling
Greetings,
sar3th

Just saying hello

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 Smiling

Wm...
portability is like flexibility, you either have it or you don't.

I wish i had more time.

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 Smiling

I upload it here