www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/20/09:25:38

Message-ID: <3743C63E.480@Compuserve.com>
Date: Thu, 20 May 1999 10:22:22 +0200
Organization: tup consult GmbH
X-Mailer: Mozilla 3.01Gold [de]C-DT (Win95; I)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: gcc2.8.1
X-Sender: 0306498696-0001 AT t-online DOT de
From: A DOT Pech AT t-online DOT de (106141,601)
Reply-To: djgpp AT delorie DOT com

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 <stream.h>

main()
{
cout << "hello,world\n";
}

I hope you can help me with my problem.

Thank you

Michael Pech

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019