Re: Undefined references when compiling C++ program

2004-03-05 Thread Peter J. Stieber
when I try to compile this... //zozo.cc #include iostream int main() { std::cout Salut std::endl; return 0; } ...with... gcc zozo.cc Use g++ zozo.cc instead. Pete -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

Re: Undefined references when compiling C++ program

2004-03-05 Thread Larry Hall
At 01:59 PM 3/5/2004, you wrote: Hello, when I try to compile this... //zozo.cc #include iostream int main() { std::cout Salut std::endl; return 0; } ...with... gcc zozo.cc ...gcc give me... /cygdrive/c/DOCUME~1/travonz/LOCALS~1/Temp/ccuTTqP6.o(.text+0x2f):zozo.cc: undefined reference to