Author Topic: Question of manual install MinGW  (Read 8699 times)

lfm

  • Guest
Question of manual install MinGW
« on: May 14, 2006, 02:28:07 am »
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

  • Guest
Re: Question of manual install MinGW
« Reply #1 on: May 14, 2006, 02:37:48 am »
You can get it with the msys download.

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: Question of manual install MinGW
« Reply #2 on: May 14, 2006, 02:44:02 am »
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

lfm

  • Guest
Re: Question of manual install MinGW
« Reply #3 on: May 14, 2006, 02:52:24 am »
thanks, Michael  and nfz
But the 1.0rc2(with MINGW) include "rm.exe".

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Question of manual install MinGW
« Reply #4 on: May 14, 2006, 12:28:54 pm »
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."

Offline pjk

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: Question of manual install MinGW
« Reply #5 on: May 14, 2006, 02:01:01 pm »
Quote
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

The extra packages comes from unxutils unxutils.sourceforge.net

Offline yop

  • Regular
  • ***
  • Posts: 387
Re: Question of manual install MinGW
« Reply #6 on: May 14, 2006, 02:23:28 pm »
The extra packages comes from unxutils unxutils.sourceforge.net
Cool, thanks :D
Life would be so much easier if we could just look at the source code.

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Question of manual install MinGW
« Reply #7 on: May 14, 2006, 02:26:08 pm »
Quote
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

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."

Offline pjk

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: Question of manual install MinGW
« Reply #8 on: May 15, 2006, 06:13:38 am »
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

  • Guest
Re: Question of manual install MinGW
« Reply #9 on: May 15, 2006, 06:56:50 am »
Thank you very much.

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Question of manual install MinGW
« Reply #10 on: May 15, 2006, 10:03:09 am »
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

  • Guest
Re: Question of manual install MinGW
« Reply #11 on: May 15, 2006, 01:29:04 pm »
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