Hi..i had install cygwin directly from internet and when i try to compile using bash why i get srror "bash: gcc: command not found"..Can anybody please provide me a solution for this..I will appreciate it alot..Thanks
Hi..i had install cygwin directly from internet and when i try to compile using bash why i get srror "bash: gcc: command not found"..Can anybody please provide me a solution for this..I will appreciate it alot..Thanks
Run the setup again, choose the development tools branch and select gcc.
You don't get everything downloaded all at once (it would take many hours), so you need to pick and choose the components which interest you.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Hehe, that was fun trying to install GCC. I tried to install it so many times because it wouldn't download a few of the files. Finally, I realized that, yes, you had to click the "GCC compiler" check box!! That was frustrating!
Also, just a suggestion--Even though I run GCC, I run it through DOS instead of cygwin.
All I did was set the Environment Variable in System (control panel) to c:\cygwin\bin, and then I would type in dos:
gcc file.c
and it would compile to a.exe. Then I just type:
a
and it'll run the file.
This is just a suggestion because cygwin's window takes a while to load up and the DOS screen loads instantly, hehe.
> I run it through DOS instead of cygwin.
Until you realise exactly how useful bash is compared to the brain-dead corpse which is cmd.exe.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
since you have beginner in your name, let me point out an important lesson. read the README's!the 2 minutes you spend reading them will save you hundreds in the long run.
i seem to have GCC 3.3.4
But how do i start it?
I dont have a menu for it or anything.