From owner-freebsd-questions@FreeBSD.ORG Sun May 11 09:56:02 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92DCA1065675 for ; Sun, 11 May 2008 09:56:02 +0000 (UTC) (envelope-from xorquewasp@googlemail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id 23C358FC36 for ; Sun, 11 May 2008 09:56:01 +0000 (UTC) (envelope-from xorquewasp@googlemail.com) Received: by ug-out-1314.google.com with SMTP id q2so506705uge.37 for ; Sun, 11 May 2008 02:56:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:subject:message-id:mime-version:content-type:content-disposition; bh=4DvJS9xvqdh8s2KbKnpnR5FRGvRNPmTg5gmtFutTq7Y=; b=hbO7g4mW9Jk8qNO4SvIUySwbkwsrcJvQtesezuvwOpbYSHCykSUHN19lfN7cMH9DhUqu6nYaEoCht1MOuYE8XNVRroGzOfqhjys7eYOWFdPlf9RdG7gmjFF+IK5VNYREbRkHdPBJzBgjioXW8DMpnhTAAzo5xUYeJ0mAD2PrWmg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:mime-version:content-type:content-disposition; b=oPOF1bjOZ3249F+IXhEQvJXIHBBLBpCQp2bHUXcuaXk9Svlx2V7u/XhThSSMUm+dXGcFQ+E8SXZW9H0lKndf7YRvfjFZd0Wdl6Udy+Sg5d/JnSavZPH9CwrZYbOPm0J65Ky/O0a26xTVz1zdu0qhSk/FIDIAxtX/5TWVB3nzrPE= Received: by 10.67.15.15 with SMTP id s15mr3866491ugi.27.1210498228013; Sun, 11 May 2008 02:30:28 -0700 (PDT) Received: from logik.internal.network ( [81.86.41.187]) by mx.google.com with ESMTPS id g11sm12649312gve.8.2008.05.11.02.30.24 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 11 May 2008 02:30:26 -0700 (PDT) Received: by logik.internal.network (Postfix, from userid 11001) id 1E8465F1D; Sun, 11 May 2008 09:30:39 +0000 (UTC) Date: Sun, 11 May 2008 09:30:39 +0000 From: xorquewasp@googlemail.com To: freebsd-questions@freebsd.org Message-ID: <20080511093039.GA33095@logik.internal.network> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: gcc42 and profiling 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: Sun, 11 May 2008 09:56:02 -0000 Whist trying to compile a program using the gcc42 (actually gnat-gcc42) port, using the -pg flag for profiling, I got the following upon linking: cc -pg -c -o prog.o prog.c cc -pg -o prog prog.o /usr/bin/ld: cannot find -lgcc_p I'm assuming this means that profiling libraries for the compiler are missing. What do I need to do to get working libraries from the port? There doesn't appear to be anything to set in the Makefile or any port options whatsoever. Please CC: me as I'm not subscribed.