Date: Mon, 12 Apr 1999 18:17:40 -0400 From: "knichel" <knichel@cdcsd.k12.ny.us> To: freebsd-questions@FreeBSD.ORG Subject: g++ Message-ID: <19990412221912.C6D7F155E5@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
I am new to FreeBSD and have a question. I teach a C++ class in High School
and want to teach programming in a terminal, so I set up a BSD box. I use
PICO as my editor and I can compile my program using "g++ -c new.cc", but
when I try to link my program using "g++ -o new.o" I get the following
error...
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x69): undefined reference to `main'
What does this mean (pardon my ignorance)?
___________________________________________________________________
Mike Knichel
Apple Authorized Service Provider
Tel: (518) 622-0490 Fax: (518) 622-0493
Voice Mail: (518) 622-0490 x614
e-mail: knichel@cdcsd.k12.ny.us
___________________________________________________________________
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990412221912.C6D7F155E5>
