From owner-freebsd-questions@FreeBSD.ORG Tue Jun 7 23:31:42 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 11AAC16A438 for ; Tue, 7 Jun 2005 23:31:42 +0000 (GMT) (envelope-from mrl0lz@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F9C343D49 for ; Tue, 7 Jun 2005 23:31:41 +0000 (GMT) (envelope-from mrl0lz@gmail.com) Received: by wproxy.gmail.com with SMTP id 37so72364wra for ; Tue, 07 Jun 2005 16:31:40 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:subject:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding:from; b=H/ptIw/tmZ6Pp2ZWIwxfcVa9UvCuGzOKpRJQfJm3rfZLf6jltQpbhqJKl7YyKr8m85HdTtnTV7RzuITQWo+QluIVRbJIx7tGh/PnWiBBPmCzZMePfccEZVvlohqRI4Hqr6NUg+shBEE+WfyTmlEuuB62tm92tZwI37olYY2skas= Received: by 10.54.154.12 with SMTP id b12mr4374446wre; Tue, 07 Jun 2005 16:30:59 -0700 (PDT) Received: from localhost.localdomain ([63.165.120.30]) by mx.gmail.com with ESMTP id g9sm241038wra.2005.06.07.16.30.58; Tue, 07 Jun 2005 16:30:59 -0700 (PDT) To: Roland Smith In-Reply-To: <20050607201214.GB18501@slackbox.xs4all.nl> References: <000601c56b93$578c8a80$5b01a8c0@mdis> <20050607201214.GB18501@slackbox.xs4all.nl> Content-Type: text/plain Date: Tue, 07 Jun 2005 16:31:00 -0700 Message-Id: <1118187060.755.1.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit From: Remington L Cc: Keyser , 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 23:31:42 -0000 On Tue, 2005-06-07 at 22:12 +0200, Roland Smith wrote: > 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: > > > It compiles and runs fine on my 5-STABLE box (athlon64). Try compiling > with debugging info, and run it in the debugger. > > Roland I dont know if this will help but do the following: ktrace helloworld kdump -f ktrace.out See anything funky?