How to compile? 
November 8th, 2005, 04:25 AM
| | | |
How to compile a file in Cygwin!???
Ok is it the same as in linux? g++ -g -Wall Filename.cpp?
cause when i type that it says cannot find command g++
whats wrong? | 
November 8th, 2005, 05:25 AM
| | | | re: How to compile?
"Weasel" <Weaselwoot@gmail.com> wrote in message
news:1131423182.763506.286990@g47g2000cwa.googlegr oups.com...[color=blue]
> How to compile a file in Cygwin!???[/color]
Read The Directions.
[color=blue]
>
> Ok is it the same as in linux? g++ -g -Wall Filename.cpp?[/color]
Linux is an operating system kernel, not a compiler.
[color=blue]
>
> cause when i type that it says cannot find command g++
>
> whats wrong?[/color]
What's wrong is that you didn't read the Cygwin documentation.
-Mike | 
November 8th, 2005, 06:35 AM
| | | | re: How to compile?
^_^
maybe you should install gcc package before start compile your
program.
"Weasel" <Weaselwoot@gmail.com> wrote in message
news:1131423182.763506.286990@g47g2000cwa.googlegr oups.com...[color=blue]
> How to compile a file in Cygwin!???
>
> Ok is it the same as in linux? g++ -g -Wall Filename.cpp?
>
> cause when i type that it says cannot find command g++
>
> whats wrong?
>[/color] | 
November 8th, 2005, 06:45 AM
| | | | re: How to compile?
Apart from that you probably didn't install the gcc package (as
mentioned by the others above), the command is the same.
There are some special switches available that differ from g++ on linux
- can be figured out with the documentation.
Eckhard | 
November 8th, 2005, 07:45 AM
| | | | re: How to compile?
Weasel wrote:[color=blue]
> How to compile a file in Cygwin!???
>
> Ok is it the same as in linux? g++ -g -Wall Filename.cpp?
>
> cause when i type that it says cannot find command g++
>
> whats wrong?
>[/color]
That's how you do it. The problem is probably that you didn't download
gcc, it doesn't download by default. Go back and read the instrcutions.
john | 
November 8th, 2005, 03:55 PM
| | | | re: How to compile?
Thanks lol that was it i forgot to dl the g++.exe file lol ty |  | | | | /bytes/about
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over 225,702 network members.
|