Message-Id: <199711090229.LAA21046@skip97.letter.co.jp> To: djgpp AT delorie DOT com Subject: Re: undefined references From: Jun Hashimoto References: <34654D36 DOT 7518 AT cs DOT huji DOT ac DOT il> Date: Sun, 09 Nov 1997 11:30:40 +0900 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Precedence: bulk In message <34654D36 DOT 7518 AT cs DOT huji DOT ac DOT il> "undefined references" "Ofer Corshid " wrote: > I have the file myfile.cc: > #include > > void main() > { > cout << "test"; > } > > When I enter this command: > gcc myfile.cc -o myfile.exe > > I get this messages: > undefined reference to 'cout' > undefined reference to 'ostream::operator<<(char const *)' > > Why??? Try this command: gxx myfile.cc -o myfile.exe Jun