X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.8 required=5.0	tests=AWL,BAYES_00,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
Message-ID: <4EB29BEE.2030304@cs.utoronto.ca>
Date: Thu, 03 Nov 2011 09:49:34 -0400
From: Ryan Johnson <ryan.johnson@cs.utoronto.ca>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: recompiling gcc, make, and binutils for my cpu architecture?
References: <loom.20111103T132928-207@post.gmane.org>
In-Reply-To: <loom.20111103T132928-207@post.gmane.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 03/11/2011 8:54 AM, Jorge wrote:
> Hi all, I hope I am posting in the right location.
This has nothing whatsoever to do with cygwin.

> I would like to setup/optimize gcc, binutils, and make for my CPU architecture,
> AMD K8, and rebuild.  I have installed the cygwin sources.
Invoking gcc with "-march=native" should do exactly what you want with 
far less effort than rebuilding the toolchain from scratch (a task not 
for the faint of heart nor for the impatient). Make cares very little 
what architecture it runs on; binutils cares deeply but almost certainly 
does the right thing already.

If you need more information, try 'man gcc' and 'http://gcc.gnu.org' (in 
that order).

Ryan


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

