From owner-freebsd-sparc64@FreeBSD.ORG Sun Jul 11 14:10:46 2010 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4EFF0106564A for ; Sun, 11 Jul 2010 14:10:46 +0000 (UTC) (envelope-from narcotico@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id C4CB88FC13 for ; Sun, 11 Jul 2010 14:10:45 +0000 (UTC) Received: by wyb34 with SMTP id 34so3301460wyb.13 for ; Sun, 11 Jul 2010 07:10:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:references :in-reply-to:subject:date:message-id:mime-version:content-type :content-transfer-encoding:x-mailer:thread-index:content-language :x-cr-hashedpuzzle:x-cr-puzzleid; bh=D34/nIKgDbpQNXJY1HeQtsqP18w9LsJKxdYGNylhKLo=; b=MR8C5T2GSSXz8kYi9pAC22hRMlaM9WQV6vrQ7doG7TU+WF8pT6D6TOYZ0GnXUGUJxn RiFGMG4xlw4ZNH456q1EKD8ZI+6ZGVvpKycvZxExYAY3YdZV77eftBW1cOaWTIRFD/Vi B26wsuKvFYzW78+dviqpI7CD8SSrLml7k9g6Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-type:content-transfer-encoding:x-mailer:thread-index :content-language:x-cr-hashedpuzzle:x-cr-puzzleid; b=tlFr/IRBUl9TjXG/Ro9TiiCSNUdJkc93+eCCAkIvKXgk6GBsiz/k2ih4QVHk7BxL31 k8O4qnCWTTQP99rdo8SecSLybIbUWrhVOGuKwfzdMd85w+faPVxM7O8azdMOTdwZqrAn RylGKobmvu0mCCMGWnc/kgK4yv2deQb2vbcq0= Received: by 10.227.9.147 with SMTP id l19mr11382731wbl.55.1278857444486; Sun, 11 Jul 2010 07:10:44 -0700 (PDT) Received: from narcoPC (243.150.222.87.dynamic.jazztel.es [87.222.150.243]) by mx.google.com with ESMTPS id u7sm1126739weq.32.2010.07.11.07.10.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 11 Jul 2010 07:10:43 -0700 (PDT) From: =?iso-8859-1?Q?Narciso_Mart=EDnez_Malnero?= To: References: <20100709120024.337FB106574B@hub.freebsd.org> In-Reply-To: <20100709120024.337FB106574B@hub.freebsd.org> Date: Sun, 11 Jul 2010 16:10:41 +0200 Message-ID: <000901cb2102$d992aa30$8cb7fe90$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcsfXmkMB6dh/q8wT/OWURwxXX4KJgBoezrw Content-Language: es x-cr-hashedpuzzle: AQgR ASMy BIUl CKr0 CQIv FpjJ Fv1e GNnL HsCi Hxdk IRrE IXOV JCnD JdXv Js6p J0IS; 1; ZgByAGUAZQBiAHMAZAAtAHMAcABhAHIAYwA2ADQAQABmAHIAZQBlAGIAcwBkAC4AbwByAGcA; Sosha1_v1; 7; {7F94A3FF-2807-4126-946A-23EF5DC9173F}; bgBhAHIAYwBvAHQAaQBjAG8AQABnAG0AYQBpAGwALgBjAG8AbQA=; Sun, 11 Jul 2010 14:10:39 GMT; TwBwAHQAaQBtAGkAegBlACAAYwBvAG0AcABpAGwAaQBuAGcAIABmAG8AcgAgAFMAdQBuACAARQBuAHQAZQByAHAAcgBpAHMAZQAgADIANQAwAA== x-cr-puzzleid: {7F94A3FF-2807-4126-946A-23EF5DC9173F} Subject: Optimize compiling for Sun Enterprise 250 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jul 2010 14:10:46 -0000 Hello. I would to know if there are any flags to optimize performance and = compiling time (prior the first one).=20 I've found: -mcpu=3Dv9 and mcpu=3Dultrasparc, are these flags better than default? = Which of two ones for this machine (ultrasparc II)? -mtune=3Dultrasparc -pthreads And in other site: CHOST=3D=94sparc64-unknown-linux-gnu=94 CFLAGS=3D=94-O3 -pipe -fomit-frame-pointer=94 CXXFLAGS=3D=94-O3 -pipe -fomit-frame-pointer=94 Which do you use or do you recommended? I am looking for some good configuration without problems. Thanks.