This is another 'CreateProcess: file not found'-gcc-error-question. According to the -v switch it can't open cc1plus. Things I tried:
-> add C:\bin\mingw\libexec\gcc\mingw32\4.8.1 to %path% (my mingw inst-path is C:\bin\mingw)
-> add C:\bin\mingw\bin to %path%
-> copy cc1plus.exe to bin\, the same directory as gcc
-> create junction from C:\mingw to C:\bin\mingw (just in case...)
(I use Windows 7)
But the error still persists. Yesterday I installed mingw on windows xp, it worked just fine!
Am I missing something?
MinGW is trolling me (not anymore) [solved]
MinGW is trolling me (not anymore) [solved]
Last edited by Techel on Wed Feb 03, 2016 4:05 pm, edited 1 time in total.
-
- Member
- Posts: 283
- Joined: Mon Jan 03, 2011 6:58 pm
Re: MinGW is trolling me
Yep, you are missing any information we need to be able to help you. What is/are the exact command(s) you tried? What is the EXACT output of said commands? What are your environment variables? What version of MinGW are you using? What version of Windows 7? (Home, Pro, 32-bit or 64-bit)Roflo wrote:Am I missing something?
- Monk
Re: MinGW is trolling me
I discovered a environment variable called 'gcc_exec_prefix', probably from a old mingw installation a time ago. Setting this to the right location solves my problem.
- Nutterts
- Member
- Posts: 159
- Joined: Wed Aug 05, 2015 5:33 pm
- Libera.chat IRC: Nutterts
- Location: Drenthe, Netherlands
Re: MinGW is trolling me (not anymore) [solved]
Permissions come to mind. Have you tried running it from an administrator prompt or checked the folder access rights? Under XP by default your running with administrator privileges, under 7 your not.Roflo wrote:Yesterday I installed mingw on windows xp, it worked just fine! Am I missing something?
"Always code as if the guy who ends up maintaining it will be a violent psychopath who knows where you live." - John F. Woods
Failed project: GoOS - https://github.com/nutterts/GoOS
Failed project: GoOS - https://github.com/nutterts/GoOS
Re: MinGW is trolling me (not anymore) [solved]
Yes I was running it as admin. I'm currently make a complete new mingw installation, the old one probably messed things up.
edit: runs perfectly now Nice when things work.
edit2: AHHH why the hell did I delete that f*** junction
edit: runs perfectly now Nice when things work.
edit2: AHHH why the hell did I delete that f*** junction