Page 1 of 1
DJGPP installation problem
Posted: Mon May 16, 2005 7:06 am
by NOTNULL
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.
Re:DJGPP installation problem
Posted: Tue May 17, 2005 2:01 am
by Candy
Did you set your PATH variable as was explained either where you downloaded it or in the installation instructions?
Re:DJGPP installation problem
Posted: Tue May 17, 2005 2:45 am
by NOTNULL
Yes. I have defined DJGPP to point to DJGPP.ENV and PATH to point to C:\DJGPP\BIN.
Re:DJGPP installation problem
Posted: Tue May 17, 2005 9:29 am
by srg
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.
Are you running this in DOS, or windows. If your running windows I'd recommend Cygwin.
srg
Re:DJGPP installation problem
Posted: Tue May 17, 2005 10:02 am
by NOTNULL
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
Posted: Tue May 17, 2005 10:16 am
by NOTNULL
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
Posted: Tue May 17, 2005 12:05 pm
by srg
NOTNULL wrote:
I work in Windows. I also tried installing Cygwin. But, still the problem persists. Is cc1 a file required for gcc???
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).
as for cc1, I've no idea yet.
srg
Re:DJGPP installation problem
Posted: Tue May 17, 2005 3:33 pm
by AR
cc1 is the actual compiler, gcc.exe, g++.exe, etc are basically call throughs that decide which compiler to use.