X-Recipient: archive-cygwin AT delorie DOT 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 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 AT cygwin DOT com Subject: Re: recompiling gcc, make, and binutils for my cpu architecture? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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