« Return to Thread: cc1 not found

Re: cc1 not found

by Mark Mohr :: Rate this Message:

Reply to Author | View in Thread

Hi Mark,

I got the same thing when I installed it on Vista.

So what I did to fix it was put /mingw/libexec/gcc/mingw32/3.4.5 in my PATH
variable in /etc/profile file.

Best regards,

Mark

----- Original Message -----
From: "Mark Bourne" <mcb103@...>
To: "MinGW Users List" <mingw-users@...>
Sent: Thursday, March 29, 2007 4:31 PM
Subject: [Mingw-users] cc1 not found


> I'm sure this problem has come up before, but I can't remember the
> solution, and have been unable to find it.
>
> I have just installed MinGW, MSYS and msysDTK on Windows Vista (32 bit
> Business) using the latest executable installers from
> http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=82721
>
> When installing MinGW, I chose the current core, C++ and MinGW Make
> packages. Now, trying to compile a simple test program, I get an error
> saying that cc1 doesn't exist. From MSYS:
>
> $ cat /mingw/installed.ini
> [settings]
> mirror=
> installtype=current
>
> [components]
> runtime=mingw-runtime-3.12.tar.gz
> w32api=w32api-3.9.tar.gz
> binutils=binutils-2.16.91-20060119-1.tar.gz
> core=gcc-core-3.4.2-20040916-1.tar.gz
> gpp=gcc-g++-3.4.2-20040916-1.tar.gz
> g77=
> ada=
> java=
> objc=
> make=mingw32-make-3.81-2.tar.gz
>
> $ cat test.c
> #include <stdio.h>
> int main(int argc, char*[] argv)
> {
>  printf("Hello world!\n");
>  return 0;
> }
>
> $ gcc --version
> gcc.exe (GCC) 3.4.2 (mingw-special)
> Copyright (C) 2004 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.
>
> $ gcc test.c
> gcc.exe: installation problem, cannot exec `cc1': No such file or
> directory
>
>
> I'm pretty sure this has been discussed on this list at least once
> recently, but can't find it in the archives :(
>
> Thanks,
> Mark.
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> MinGW-users mailing list
> MinGW-users@...
>
> You may change your MinGW Account Options or unsubscribe at:
> https://lists.sourceforge.net/lists/listinfo/mingw-users
>



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
MinGW-users mailing list
MinGW-users@...

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users

 « Return to Thread: cc1 not found