Re: processor optimisations for pkgsrsc

From: Dave Uhring (daveuhring_at_yahoo.com)
Date: 10/08/03


Date: Wed, 08 Oct 2003 07:52:00 -0500

On Wed, 08 Oct 2003 12:18:18 +0200, Psyco F. die Geissel der Galaxis
wrote:

> cpuflags gives "pentiumpro" as march. Which configuration-file do I have
> to edit that all source will be compiled for the pentiumpro target
> architecture?

Depends on your shell. If csh then ~/.cshrc, if bash then ~/.bashrc.

Set or export CFLAGS='-O2 -pipe -march=pentiumpro'

> Is there a possibility to use "athlon" as target if I switch to GCC
> 3.*.*. And how does that go?

Best to wait for OS support of gcc-3 and build a new or updated set of
packages. g++-2.95 libs are incompatible with g++-3 libs.



Relevant Pages

  • Re: Sort results different under bash and csh
    ... > bash or csh shell. ... > We had also problems with Fortran programs, ... > same regardless of shell. ...
    (comp.os.linux.misc)
  • Re: conversion of csh scripts to bash
    ... > I recognize that bash is the superior shell, but like many people, I was ... > first exposed to csh 12 years ago because that's what everyone in my ... Note that shell programming sucks in general, ... I would certainly not write bash specific scripts, but instead, ...
    (comp.unix.shell)
  • Re: bash quoting inconsistency
    ... >> In a script there is no expansion of the exclamation mark. ... > Looks to me that sh (bash) and csh are wrong, ... bash 2.05b-13 The GNU Bourne Again SHell ...
    (comp.os.linux.misc)
  • Re: need to confirm I can change roots login shell to something other than /sbin/sh
    ... sh does, ksh does, /usr/bin/echo does, bash and csh do not. ... Bash is promoted for scripts as well as interactive, right, ... Anyone can write a shell and nearly everyone did. ...
    (comp.unix.solaris)
  • Re: BASH as root shell (static linking)
    ... I would suggest using bash as your toor shell instead. ... Yeah, I'v done that in the past, but I really dislike csh, I don't ...
    (freebsd-questions)