By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,169 Members | 1,089 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,169 IT Pros & Developers. It's quick & easy.

Compilator GPP

P: n/a
Hello,
I downloaded compilator gpp344b but i dont know how can i compile
programs.
I have file program.cpp in folder gpp344b\bin (in this folder is also
file gpp.exe so i think i should put file with source of my program
also into this folder)
and i write: "gpp program.cpp"
but then i see this error:
"gpp.exe: environment variable DJGPP not defined" :(
what should i do?
Greetings
Ka-lolek

*sry for my english:P

Jun 16 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
ka********@gmail.com wrote:
I downloaded compilator gpp344b but i dont know how can i compile
programs.
I have file program.cpp in folder gpp344b\bin (in this folder is also
file gpp.exe so i think i should put file with source of my program
also into this folder)
and i write: "gpp program.cpp"
but then i see this error:
"gpp.exe: environment variable DJGPP not defined" :(
what should i do?


Define it. And then go to DJGPP web site and RTFM.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Jun 16 '06 #2

P: n/a

Victor Bazarov wrote:
ka********@gmail.com wrote:
I downloaded compilator gpp344b but i dont know how can i compile
programs.
I have file program.cpp in folder gpp344b\bin (in this folder is also
file gpp.exe so i think i should put file with source of my program
also into this folder)
and i write: "gpp program.cpp"
but then i see this error:
"gpp.exe: environment variable DJGPP not defined" :(
what should i do?


Define it. And then go to DJGPP web site and RTFM.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask


what does "define it" mean?
what must i do to define it?

Jun 22 '06 #3

P: n/a
ka********@gmail.com wrote:
Victor Bazarov wrote:
ka********@gmail.com wrote:
I downloaded compilator gpp344b but i dont know how can i compile
programs.
I have file program.cpp in folder gpp344b\bin (in this folder is
also file gpp.exe so i think i should put file with source of my
program also into this folder)
and i write: "gpp program.cpp"
but then i see this error:
"gpp.exe: environment variable DJGPP not defined" :(
what should i do?


Define it. And then go to DJGPP web site and RTFM.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask


what does "define it" mean?
what must i do to define it?


I have a very little idea what "environment" you're using. In *my*
environment I set an *environment variable* by means of the "set"
command. Now, it has nothing to do with C++ language, that's why
continuing to talk about it would be a violation of the topicality
of this newsgroup. You should also consider going to DJGPP web site
and RTFMing *before* defining the variable, contrary to my advice.
I have a sneaky suspicion that in their FM they explain relatively
well what you need to do to use their product.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Jun 22 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.