Sender: nate AT cartsys DOT com Message-ID: <3744923A.14D279BE@cartsys.com> Date: Thu, 20 May 1999 15:52:42 -0700 From: Nate Eldredge X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.5 i586) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: gcc2.8.1 References: <3743C63E DOT 480 AT Compuserve DOT com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Reply-To: djgpp AT delorie DOT com 106141,601 wrote: > > Hi > > I get this lines after installation of all needed files for > compiling C++ programms on DOS base: > > C:/djgpp/lib/crt0.o(data+0xc2):crt0.s: undefined reference to `mainī > C:/djgpp/lib/libc.a(crt1.o)(.text+0x446):crt1.c: undefined reference to > `mainī > > I took the lines of the programm from a book. The lines are: > > #include > > main() > { > cout << "hello,world\n"; > } > > I hope you can help me with my problem. Please post the exact command you used to compile. Then add `-v' and post the output. -- Nate Eldredge nate AT cartsys DOT com