DJGPP installation problem

Programming, for all ages and all languages.
Post Reply
NOTNULL

DJGPP installation problem

Post 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.
User avatar
Candy
Member
Member
Posts: 3882
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

Re:DJGPP installation problem

Post by Candy »

Did you set your PATH variable as was explained either where you downloaded it or in the installation instructions?
NOTNULL

Re:DJGPP installation problem

Post by NOTNULL »

Yes. I have defined DJGPP to point to DJGPP.ENV and PATH to point to C:\DJGPP\BIN.
srg

Re:DJGPP installation problem

Post 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
NOTNULL

Re:DJGPP installation problem

Post by NOTNULL »

I work in Windows. I also tried installing Cygwin. But, still the problem persists. Is cc1 a file required for gcc???
NOTNULL

Re:DJGPP installation problem

Post 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?
srg

Re:DJGPP installation problem

Post 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
AR

Re:DJGPP installation problem

Post by AR »

cc1 is the actual compiler, gcc.exe, g++.exe, etc are basically call throughs that decide which compiler to use.
Post Reply