This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hello, This is my first post here. I recently installed Cygwin again after my harddisk crashed and had to be formatted and all. I mainly use an ELF cross compiler for doing OS dev. So it was when I tried to compile a simple app using the normal GCC that I ran into this error.
$ gcc -mno-cygwin -o hello hello.c gcc: installation problem, cannot exec 'cc1': No such file or directory
I see that it occurs only when I use the -mno-cygwin option. I searched google. I found I have to install gcc-mingw package. I installed it. But the problem still prevails. I also see that there is no /usr/lib/gcc-lib directory. I found cc1.exe in the /lib/gcc/i686-pc-cygwin/3.4.4 directory. I tried adding that to the PATH. But then I get the error.
I have also tried reinstalling those packages (gcc, binutils etc.) . But it still doesnt work.
Thanks, Thomas
Attachment:
cyg.txt
Description: Text document
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |