From owner-freebsd-questions@FreeBSD.ORG Tue Jun 7 20:12:17 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E96816A41C for ; Tue, 7 Jun 2005 20:12:17 +0000 (GMT) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr15.xs4all.nl (smtp-vbr15.xs4all.nl [194.109.24.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6F3543D1D for ; Tue, 7 Jun 2005 20:12:16 +0000 (GMT) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr15.xs4all.nl (8.13.3/8.13.3) with ESMTP id j57KCEFx002355; Tue, 7 Jun 2005 22:12:15 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id B35D8614A; Tue, 7 Jun 2005 22:12:14 +0200 (CEST) Date: Tue, 7 Jun 2005 22:12:14 +0200 From: Roland Smith To: Keyser Message-ID: <20050607201214.GB18501@slackbox.xs4all.nl> Mail-Followup-To: Keyser , freebsd-questions@freebsd.org References: <000601c56b93$578c8a80$5b01a8c0@mdis> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="H1spWtNR+x+ondvy" Content-Disposition: inline In-Reply-To: <000601c56b93$578c8a80$5b01a8c0@mdis> User-Agent: Mutt/1.4.2.1i X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Problem w/ simple Hello World compiled w/ g++ X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jun 2005 20:12:17 -0000 --H1spWtNR+x+ondvy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 07, 2005 at 12:01:41PM -0700, Keyser wrote: > I know quite a bit about programming, but not a lot about FreeBSD. > I've been pulling my hair out all morning just trying to get an > unbelievably simple c++ "Hello World" program to run (it compiles > fine) under FreeBSD. Here's the source: =20 It compiles and runs fine on my 5-STABLE box (athlon64). Try compiling with debugging info, and run it in the debugger. Roland --=20 R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt --H1spWtNR+x+ondvy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCpf+eEnfvsMMhpyURAlMdAJ4gyydFMcUlqiuvxt6AJ8lhotRLNACfSefl I3LTm+J8vU9KHf949OoB4Fo= =FKCr -----END PGP SIGNATURE----- --H1spWtNR+x+ondvy--