From owner-freebsd-ports Mon Apr 8 17:35:12 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mailhub.yumyumyum.org (dsl092-171-091.wdc1.dsl.speakeasy.net [66.92.171.91]) by hub.freebsd.org (Postfix) with SMTP id 007EA37B405 for ; Mon, 8 Apr 2002 17:35:04 -0700 (PDT) Received: (qmail 99182 invoked from network); 9 Apr 2002 00:34:55 -0000 Received: from dsl092-171-091.wdc1.dsl.speakeasy.net (66.92.171.91) by dsl092-171-091.wdc1.dsl.speakeasy.net with SMTP; 9 Apr 2002 00:34:55 -0000 Date: Mon, 8 Apr 2002 20:34:55 -0400 (EDT) From: Kenneth Culver To: Peter Leftwich Cc: FreeBSD Questions , FreeBSD Ports Subject: Re: gcc -O -mcpu=i686 -howtooverride=486? In-Reply-To: <20020408140315.J8518-100000@66-75-1-142.san.rr.com> Message-ID: <20020408203419.H99121-100000@alpha.yumyumyum.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org According to man gcc: -mcpu=cpu type Assume the defaults for the machine type CPU TYPE when scheduling instructions. The choices for CPU TYPE are: i386, i486, i586 (pentium), pentium, i686 (pentiumpro), and pentiumpro. While picking a spe- cific CPU TYPE will schedule things appropriately for that particular chip, the compiler will not generate any code that does not run on the i386 without the -march=cpu type option being used. -march=cpu type Generate instructions for the machine type CPU TYPE. The choices for CPU TYPE are: i386, i486, pentium, and pentiumpro. Specifying -march=cpu type implies -mcpu=cpu type Ken On Mon, 8 Apr 2002, Peter Leftwich wrote: > Today I have been immersing myself in the many splendors of "./configure" > and "make" (which seems to create a Makefile that the user may edit before > running...) "make install" and (sort of) gone are the old days of pkg_add > -r! This activity all came about as a result of my (so far trying to) > upgrading w3m to the latest install, and along the way wishing to implement > openssl and imlib. > > My question is the following-- It seems like my /etc/make.conf file (which > I think I either mv'ed or cp'ed from /usr/local/etc/make.conf) is getting > ignored as far as the "CPUTYPE=i686" flag goes. How do I remedy this? > > I have been editing the various "Makefile" files, overriding the usual "-O > -m486" with "-O -mcpu=i686" (what is -march by the way?) but my extended > question is the following-- Does the -mcpu flag that mean [paraphrase-ically] > "use i686 instructions for the compile process" or does it mean "compile > some binaries with i686 smartness built into them?" Know-whuht-eye-mean? > > -- > Peter Leftwich > President & Founder > Video2Video Services > Box 13692, La Jolla, CA, 92039 USA > +1-413-403-9555 > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message