Hi all,
Recently, I installed DJGPP in my system. But, when I compile a C program, i receive this error message, "gcc.exe: installation problem, cannot exec `cc1': No such file or directory (ENO
ENT)". I have downloaded and installed the follwing zip files, bnu216b.zip, djdev203.zip, gcc400b.zip and mak3791b.zip.
Any help greatly appreciated.
DJGPP installation problem
Re:DJGPP installation problem
Did you set your PATH variable as was explained either where you downloaded it or in the installation instructions?
Re:DJGPP installation problem
Yes. I have defined DJGPP to point to DJGPP.ENV and PATH to point to C:\DJGPP\BIN.
Re:DJGPP installation problem
Are you running this in DOS, or windows. If your running windows I'd recommend Cygwin.NOTNULL wrote: Hi all,
Recently, I installed DJGPP in my system. But, when I compile a C program, i receive this error message, "gcc.exe: installation problem, cannot exec `cc1': No such file or directory (ENO
ENT)". I have downloaded and installed the follwing zip files, bnu216b.zip, djdev203.zip, gcc400b.zip and mak3791b.zip.
Any help greatly appreciated.
srg
Re:DJGPP installation problem
I work in Windows. I also tried installing Cygwin. But, still the problem persists. Is cc1 a file required for gcc???
Re:DJGPP installation problem
I found cc1.exe file in the directory, C:\DJGPP\libexec\gcc\djgpp\3.42. I copied it to C:\DJGPP\bin directory. Now, gcc is able to compile my programs. Any idea about cc1.exe file?
Re:DJGPP installation problem
I meant installing cygwin instead of djgpp, this has a native version of gcc of it's own (and with the -mno-cygwin switch you don't even need to cygwin1.dll file for the programs you make).NOTNULL wrote: I work in Windows. I also tried installing Cygwin. But, still the problem persists. Is cc1 a file required for gcc???
as for cc1, I've no idea yet.
srg
Re:DJGPP installation problem
cc1 is the actual compiler, gcc.exe, g++.exe, etc are basically call throughs that decide which compiler to use.