News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Question of manual install MinGW

Started by lfm, May 14, 2006, 02:28:07 AM

Previous topic - Next topic

lfm

I'm manual install MinGW, reference: http://wiki.codeblocks.org/index.php?title=MinGW_installation
download and unpack/install files:
gcc-core-3.4.5-20060117-1.tar.gz
gcc-g++-3.4.5-20060117-1.tar.gz
binutils-2.16.91-20060119-1.tar.gz
mingw-runtime-3.9.tar.gz
mingw-utils-0.3.tar.gz
mingw32-make-3.80.0-3.exe
w32api-3.6.tar.gz
gdb-6.3-2.exe

But there isn't "rm.exe",why?

nfz

You can get it with the msys download.

Michael

Hello,

I owuld install it by using the MinGW 5.0.2 installer and chosing candidate. Then I will instal gdb and uptate MinGW with the latest win32api and binutils files. If you want you can update the GCC too (version 3.4.5 is a good choice).

MSYS can be also downloaded and installed, but it is not needed by C::B.

Best wishes,
Michael
[url="http://img207.imageshack.us/img207/9728/411948picture4em.png"]http://img207.imageshack.us/img207/9728/411948picture4em.png[/url]

lfm

thanks, Michael  and nfz
But the 1.0rc2(with MINGW) include "rm.exe".

thomas

rm is not part of MinGW. The rm executable shipped with RC2 comes from the wxWidgets "extra" package: ftp://biolpc22.york.ac.uk/pub/ports/mingw32/extra.zip
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

pjk

Quoterm is not part of MinGW. The rm executable shipped with RC2 comes from the wxWidgets "extra" package: ftp://biolpc22.york.ac.uk/pub/ports/mingw32/extra.zip

The extra packages comes from unxutils unxutils.sourceforge.net

yop

Life would be so much easier if we could just look at the source code.

thomas

Quote from: pjk on May 14, 2006, 02:01:01 PM
Quoterm is not part of MinGW. The rm executable shipped with RC2 comes from the wxWidgets "extra" package: ftp://biolpc22.york.ac.uk/pub/ports/mingw32/extra.zip

The extra packages comes from unxutils unxutils.sourceforge.net
That is not quite true, and even dangerous.

The files shipped with RC2 are from the wxWidgets package. Fullstop.

It is true that the files contained in this wxWidgets "extra" package were taken from the unxutils package by J. Smart back in 2000. However, the current unxutils files are different from the "extras" files, and they are different from the files found in the MinGW distribution, too.

Most importantly, the unxutils package contains make 3.78!

This means that if you install this archive overwriting the existing files on your hard disk, you will break your MinGW installation! Many source distributions (including wxWidgets) require make 3.8 to compile. If you replace it with make 3.78, you will get strange, unexplainable errors.
The "extras" archive only contains a very limited choice of "basic tools", no build tools. Thus, the "extras" archive is safe to unzip, while the other one is not.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

pjk

Thank you Thomas that is good advice.
It hadn't occured to be that anyone would unzip the unxutil over a mingw installation, rather than extracting the utilities that were needed.
The point I was trying to make is that these utilities are not part of wxwidgets and the status of their license  is unclear. I suspect this why they are not part of mingw in the first place.

lfm


thomas

The licenses of these files shouldn't be a problem for any of us. Most of them are under the GPL, a few are under some homebrewn zlib-like "do what you want" licenses.
The word "Berkeley" appears quite often, but I have not found any software in that archive that is actually under the Berkeley license. Rather, Berkeley only appears because an author happened to work or live in Berkeley. :)

The packager of unxutils distributes all of the tools in one zip file under the Apache license 2.0 without distributing the individual license files. I am not 100% sure if this is really legal if you read the law to the letter, but that's maybe a bit pedantic. :)
However, that may of course be a reason why it is not bundled with MinGW (who knows).

It is a very nice collection alltogether, but as said above, it is potentially dangerous, as you can break your MinGW installation if you just unpack the archive blindly. One has to be careful not to overwrite existing files.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Max

Hello,

Please note that

w32api-3.6.tar.gz


is not the latest WinApi libraries archive. The 3.7 is available. Unfortunately the main download page
in mingw site is no longer updated. See the News.

bye