Author Topic: mingw32-g++.exe: installation problem, cannot exec `cc1plus': No such file or di  (Read 9941 times)

Offline Halan

  • Multiple posting newcomer
  • *
  • Posts: 43
Has nothing to do with Vista. It is just what the message says: "Installation problem".

GCC consists of several components. First there is the gcc program which is basically a wrapper that looks at the input file and then decides what tool to use (c/c++ compiler, linker, ada compiler, whatever...).

cc1plus is the backend C++ compiler which is called by the mingw32-g++ C++ compiler (which again was called by gcc earlier), and for some reason it is not found. Normally that file is found in MinGWFolder\libexec\gcc\mingw32\version.number.of.mingw.
« Last Edit: August 07, 2006, 08:05:34 pm by thomas »

Offline Halan

  • Multiple posting newcomer
  • *
  • Posts: 43
i didnt install gcc by myself... do i have to? because i thought everything comes with mingw which comes with codeblocks.

btw: the file is at C:\Program Files\CodeBlocks\libexec\gcc\mingw32\3.4.4, is that where it should be?

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Ooops... I see that I clicked the wrong button, edited your post instead of replying  :oops:  Sorry.

Hmm... yes, that's exactly where it should be.

You might try the following:
1. Get the files listed here: http://wiki.codeblocks.org/index.php?title=MinGW_installation Just download them all for good.
2. Make a folder C:\mingw and move all the downloaded files in there.
3. Select them all and choose "unpack here" (or is it "decompress here"?) from the context menu.

This should give you a rock solid MinGW installation.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

nothinHappens

  • Guest
my first posting
i wonder, what will happen after i press the post button.
I've followed the steps for installling mingw and then installed c::b,
but get the same error message.
what are the next steps, after installing both ?