From owner-freebsd-questions@FreeBSD.ORG Thu Dec 22 11:57:32 2005 Return-Path: X-Original-To: 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 4918516A41F for ; Thu, 22 Dec 2005 11:57:32 +0000 (GMT) (envelope-from kristian@struer.net) Received: from smtp.domainteam.dk (smtp.domainteam.dk [62.242.36.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7625743D86 for ; Thu, 22 Dec 2005 11:57:31 +0000 (GMT) (envelope-from kristian@struer.net) Received: from hardcoretux (fw.struer.net [82.192.176.5]) by smtp.domainteam.dk (Postfix) with ESMTP id 0448E26131 for ; Thu, 22 Dec 2005 12:57:29 +0100 (CET) Date: Thu, 22 Dec 2005 12:57:29 +0100 From: "Kristian M / Struer.Net / Drift" To: questions@freebsd.org Message-Id: <20051222125729.08216ce5.kristian@struer.net> Organization: Struer Net A/S X-Mailer: Sylpheed version 2.0.1 (GTK+ 2.6.7; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: Cflags and other compiling questions. 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: Thu, 22 Dec 2005 11:57:32 -0000 Hi Folks I'm kinda new to freebsd, i have been running Gentoo linux for a long time, and know you can optimize your programs if you compile them your self, i have already an portage collection, (witch i update with cvsup-without-gui) this works perfectly, but my question is, how can i optimize the programs? >From gentoo, i have Cflags and march values, example, -march can be set to pentium4 if this is the kind of cpu you have, and then the programs will be compiled with optimizations for this kind of cpu. I actually dont know for sure if this helps (performance, stability, anything) but it would be nice to know. Maybe someone can point me to some homepage or guide but it have to be simple as i dont have much time to do everything the right way, by reading all the welldocumentated stuff out there (although it would properly be for the best). Happy holidays ;) Regards Kristian Mide Denmark