public inbox for gentoo-user-es@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-user-es] flags
  2004-01-28 23:19   ` Simó Albert Beltran
@ 2004-01-27 16:18     ` 7th Sign
  0 siblings, 0 replies; 6+ messages in thread
From: 7th Sign @ 2004-01-27 16:18 UTC (permalink / raw
  To: Gentoo users es

asi es, trabaja con la tecnologia SMART que es el soporte para trabajo
en paralelo, lo peor del caso es que solo tengo 1 y no he conseguido el
otro :( pero un dia lo hare.

El mié, 28-01-2004 a las 17:19, Simó Albert Beltran escribió:
>  7th_sign (Wed, 28 Jan 2004 13:36:44 -0500):
> > me ayudo com mi procesador Athlon MP
> 
> Tienes un procesador Athlon MP, solo uno??
> MP no son procesadores para SMP (sistemas multiprocesador)
> XP no es su analogo monoprocesador
> Más, XP i MP son el mismo procesador, solo se diferencian en que el MP con una pista cortada para soporte SMP.
> 
> --
> gentoo-user-es@gentoo.org mailing list
> 
> 

--
gentoo-user-es@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-user-es] flags
@ 2004-01-28  8:12 Juan Facundo Suárez
  2004-01-28  9:27 ` Angel Cervera Claudio
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Juan Facundo Suárez @ 2004-01-28  8:12 UTC (permalink / raw
  To: gentoo-user-es

 Hola listeros, vuelvo a hacer la pregunta, ya que sigo con el dilema. Tengo un
Celeron de 1.7 GHz, 512 de ddr y disco ATA133. No tengo bien claro cuales serían los
flags que debería usar en mi make-conf.

 Solo se que tengo en CHOST="i686-pc-linux-gnu", y el --mcpu=i686. ¿Podría con otros
flags, mejorar un poco, o ajustar mas el gentoo a mi sistema?.

 Muchas gracias !
--
Facundo Suárez
Neuquén - Argentina
FDSoft
mail y jabber: faco@fdsoft.com.ar
facundo.suarez@ensi.com.ar


--
gentoo-user-es@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: [gentoo-user-es] flags
  2004-01-28  8:12 [gentoo-user-es] flags Juan Facundo Suárez
@ 2004-01-28  9:27 ` Angel Cervera Claudio
  2004-01-28  9:36 ` Diego Navaro Garcia
  2004-01-28 18:36 ` 7th_sign
  2 siblings, 0 replies; 6+ messages in thread
From: Angel Cervera Claudio @ 2004-01-28  9:27 UTC (permalink / raw
  To: 'Juan Facundo Suárez', gentoo-user-es

[-- Attachment #1: Type: text/plain, Size: 1205 bytes --]

No te puedo decir de dónde saqué este script, pero quizá te ayude.
Te dice los flags correctos para tu procesador.
Con mis ordenadores se aproximó bastante.

Un saludo


Angel Cervera Claudio
Telf. +34 670819234
Mail: angel@acervera.com / angel@latiendadechivi.com
Web: http://www.acervera.com / http://www.latiendadechivi.com
Msn Messenger: angelcervera@hispavista.com
Yahoo Messenger: angelcervera
AOL Messenger: angelcervera
 


-----Mensaje original-----
De: Juan Facundo Suárez [mailto:facundo.suarez@ensi.com.ar] 
Enviado el: miércoles, 28 de enero de 2004 9:13
Para: gentoo-user-es@lists.gentoo.org
Asunto: [gentoo-user-es] flags

 Hola listeros, vuelvo a hacer la pregunta, ya que sigo con el dilema.
Tengo un
Celeron de 1.7 GHz, 512 de ddr y disco ATA133. No tengo bien claro
cuales serían los
flags que debería usar en mi make-conf.

 Solo se que tengo en CHOST="i686-pc-linux-gnu", y el --mcpu=i686.
¿Podría con otros
flags, mejorar un poco, o ajustar mas el gentoo a mi sistema?.

 Muchas gracias !
--
Facundo Suárez
Neuquén - Argentina
FDSoft
mail y jabber: faco@fdsoft.com.ar
facundo.suarez@ensi.com.ar


--
gentoo-user-es@gentoo.org mailing list

[-- Attachment #2: que_flags.sh --]
[-- Type: application/octet-stream, Size: 4727 bytes --]

#!/bin/sh 

# Author: pixelbeat 

#This script is Linux specific 
#It should work on any gcc >= 2.95 at least 

#these apply to any arch (just here for reference) 
unsafe_math_opts="-ffast-math -fno-math-errno -funsafe-math-optimizations -fno-trapping-math" 

gcc_version=`gcc -dumpversion | sed 's/\([0-9]\{1,\}\.[0-9]\{1,\}\)\.*\([0-9]\{1,\}\)\{0,1\}/\1\2/'` 

IFS=":" 
while read name value; do 
    unset IFS 
    name=`echo $name` 
    value=`echo $value` 
    IFS=":" 
    if [ "$name" == "vendor_id" ]; then 
        vendor_id="$value" 
    elif [ "$name" == "cpu family" ]; then 
        cpu_family="$value" 
    elif [ "$name" == "model" ]; then 
        cpu_model="$value" 
    elif [ "$name" == "flags" ]; then 
        flags="$value" 
    fi 
done < /proc/cpuinfo 
unset IFS 

if [ "$vendor_id" == "AuthenticAMD" ]; then 
    if [ "$cpu_family" == "4" ]; then 
        _CFLAGS="$_CFLAGS -march=i486" 
    elif [ "$cpu_family" == "5" ]; then 
        if [ "$cpu_model" -lt "4" ]; then 
            _CFLAGS="$_CFLAGS -march=pentium" 
        elif [ "$cpu_model" == "6" ] || [ "$cpu_model" == "7" ]; then 
            _CFLAGS="$_CFLAGS -march=k6" 
        elif [ "$cpu_model" == "8" ] || [ "$cpu_model" == "12" ]; then 
            if expr $gcc_version '>=' 3.1 >/dev/null; then 
                _CFLAGS="$_CFLAGS -march=k6-2" 
            else 
                _CFLAGS="$_CFLAGS -march=k6" 
            fi 
        elif [ "$cpu_model" == "9" ] || [ "$cpu_model" == "13" ]; then 
            if expr $gcc_version '>=' 3.1 >/dev/null; then 
                _CFLAGS="$_CFLAGS -march=k6-3" 
            else 
                _CFLAGS="$_CFLAGS -march=k6" 
            fi 
        fi 
    elif [ "$cpu_family" == "6" ]; then 
        if [ "$cpu_model" -le "3" ]; then 
            if expr $gcc_version '>=' 3.0 >/dev/null; then 
                _CFLAGS="$_CFLAGS -march=athlon" 
            else 
                _CFLAGS="$_CFLAGS -march=k6" 
            fi 
        elif [ "$cpu_model" == "4" ]; then 
            if expr $gcc_version '>=' 3.1 >/dev/null; then 
                _CFLAGS="$_CFLAGS -march=athlon-tbird" 
            elif expr $gcc_version '>=' 3.0 >/dev/null; then 
                _CFLAGS="$_CFLAGS -march=athlon" 
            else 
                _CFLAGS="$_CFLAGS -march=k6" 
            fi 
        elif [ "$cpu_model" -ge "6" ]; then #athlon-{4,xp,mp} 
            if expr $gcc_version '>=' 3.1 >/dev/null; then 
                _CFLAGS="$_CFLAGS -march=athlon-xp" 
            elif expr $gcc_version '>=' 3.0 >/dev/null; then 
                _CFLAGS="$_CFLAGS -march=athlon" 
            else 
                _CFLAGS="$_CFLAGS -march=k6" 
            fi 
        fi 
    fi 
else #everything else "GenuineIntel" 
    if [ "$cpu_family" == "3" ]; then 
        _CFLAGS="$_CFLAGS -march=i386" 
    elif [ "$cpu_family" == "4" ]; then 
        _CFLAGS="$_CFLAGS -march=i486" 
    elif [ "$cpu_family" == "5" ] && expr $gcc_version '<' 3.1 >/dev/null; then 
        _CFLAGS="$_CFLAGS -march=pentium" 
    elif [ "$cpu_family" -ge "6" ] && expr $gcc_version '<' 3.1 >/dev/null; then 
        _CFLAGS="$_CFLAGS -march=pentiumpro" 
    elif [ "$cpu_family" == "5" ]; then 
        if [ "$cpu_model" != "4" ]; then 
            _CFLAGS="$_CFLAGS -march=pentium" 
        else 
            _CFLAGS="$_CFLAGS -march=pentium-mmx" #No overlap with other vendors 
        fi 
    elif [ "$cpu_family" == "6" ]; then 
        if echo "$flags" | grep -vq cmov; then #gcc incorrectly assumes i686 always has cmov 
            _CFLAGS="$_CFLAGS -march=pentium -mcpu=pentiumpro" #VIA CPUs exhibit this 
        else 
            if [ "$cpu_model" == "0" ] || [ "$cpu_model" == "1" ]; then 
                _CFLAGS="$_CFLAGS -march=pentiumpro" 
            elif [ "$cpu_model" -ge "3" ] && [ "$cpu_model" -le "6" ]; then #4=TM5600 at least 
                _CFLAGS="$_CFLAGS -march=pentium2" 
            elif [ "$cpu_model" -ge "7" ] && [ "$cpu_model" -le "11" ]; then #9 invalid 
                _CFLAGS="$_CFLAGS -march=pentium3" 
            fi 
        fi 
    elif [ "$cpu_family" == "15" ]; then 
        _CFLAGS="$_CFLAGS -march=pentium4" 
    fi 
fi 

if expr $gcc_version '>=' 3.1 >/dev/null; then 
    if echo "$flags" | grep -q sse2; then 
        _CFLAGS="$_CFLAGS -mfpmath=sse -msse2" 
    elif echo "$flags" | grep -q sse; then 
        _CFLAGS="$_CFLAGS -mfpmath=sse -msse" 
    fi 
    if echo "$flags" | grep -q mmx; then 
        _CFLAGS="$_CFLAGS -mmmx" 
    fi 
    if echo "$flags" | grep -q 3dnow; then 
        _CFLAGS="$_CFLAGS -m3dnow" 
    fi 
fi 

echo "$_CFLAGS" 


[-- Attachment #3: Type: text/plain, Size: 41 bytes --]

--
gentoo-user-es@gentoo.org mailing list

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user-es] flags
  2004-01-28  8:12 [gentoo-user-es] flags Juan Facundo Suárez
  2004-01-28  9:27 ` Angel Cervera Claudio
@ 2004-01-28  9:36 ` Diego Navaro Garcia
  2004-01-28 18:36 ` 7th_sign
  2 siblings, 0 replies; 6+ messages in thread
From: Diego Navaro Garcia @ 2004-01-28  9:36 UTC (permalink / raw
  To: facundo.suarez, gentoo-user-es


[-- Attachment #1.1: Type: Text/Plain, Size: 1100 bytes --]

mira en esta pagina que te dicen las flags que le tienes que poner a tu
procesador
 
 http://www.freehackers.org/gentoo/gccflags/flag_gcc3.html

-------Mensaje original-------
 
De: Juan Facundo Suárez
Fecha: miércoles, 28 de enero de 2004 9:08:32
A: gentoo-user-es@lists.gentoo.org
Asunto: [gentoo-user-es] flags
 
  Hola listeros, vuelvo a hacer la pregunta, ya que sigo con el dilema.
Tengo un
Celeron de 1.7 GHz, 512 de ddr y disco ATA133. No tengo bien claro cuales
serían los
flags que debería usar en mi make-conf.
 
  Solo se que tengo en CHOST="i686-pc-linux-gnu", y el --mcpu=i686. ¿Podría
con otros
flags, mejorar un poco, o ajustar mas el gentoo a mi sistema?.
 
  Muchas gracias !
--
Facundo Suárez
Neuquén - Argentina
FDSoft
mail y jabber: faco@fdsoft.com.ar
facundo.suarez@ensi.com.ar
 
 
--
gentoo-user-es@gentoo.org mailing list
 
 
---Publicidad--------------------------------------------------------
Únete a los miles de sin pareja en Meetic... ¡te vas a enamorar!
http://www.iespana.es/_reloc/email.meetic
.

[-- Attachment #1.2: Type: Text/HTML, Size: 3719 bytes --]

<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="IncrediMail 1.0" name=GENERATOR>
<!--IncrdiXMLRemarkStart>
<IncrdiX-Info>
<X-FID>FLAVOR00-NONE-0000-0000-000000000000</X-FID>
<X-FVER></X-FVER>
<X-CNT>;</X-CNT>
</IncrdiX-Info>
<IncrdiXMLRemarkEnd-->
</HEAD>
<BODY style="BACKGROUND-POSITION: 0px 0px; FONT-SIZE: 12pt; MARGIN: 5px 10px 10px; FONT-FAMILY: Arial" bgColor=#ffffff background="" scroll=yes ORGYPOS="0" X-FVER="3.0">
<TABLE id=INCREDIMAINTABLE cellSpacing=0 cellPadding=2 width="100%" border=0>
<TBODY>
<TR>
<TD id=INCREDITEXTREGION style="FONT-SIZE: 12pt; CURSOR: auto; FONT-FAMILY: Arial" width="100%">
<DIV>mira en esta pagina que te dicen las flags que le tienes que poner a tu procesador</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;<A href="http://www.freehackers.org/gentoo/gccflags/flag_gcc3.html">http://www.freehackers.org/gentoo/gccflags/flag_gcc3.html</A></DIV>
<DIV>&nbsp;</DIV>
<DIV id=IncrediOriginalMessage><I>-------Mensaje original-------</I></DIV>
<DIV>&nbsp;</DIV>
<DIV id=receivestrings>
<DIV dir=ltr style="FONT-SIZE: 11pt" <i><B>De:</B></I> <A href="mailto:facundo.suarez@ensi.com.ar">Juan Facundo Suárez</A></DIV>
<DIV dir=ltr style="FONT-SIZE: 11pt" <i><B>Fecha:</B></I> miércoles, 28 de enero de 2004 9:08:32</DIV>
<DIV dir=ltr style="FONT-SIZE: 11pt" <i><B>A:</B></I> <A href="mailto:gentoo-user-es@lists.gentoo.org">gentoo-user-es@lists.gentoo.org</A></DIV>
<DIV dir=ltr style="FONT-SIZE: 11pt" <i><B>Asunto:</B></I> [gentoo-user-es] flags</DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; Hola listeros, vuelvo a hacer la pregunta, ya que sigo con el dilema. Tengo un</DIV>
<DIV>Celeron de 1.7 GHz, 512 de ddr y disco ATA133. No tengo bien claro cuales serían los</DIV>
<DIV>flags que debería usar en mi make-conf.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; Solo se que tengo en CHOST="i686-pc-linux-gnu", y el --mcpu=i686. ¿Podría con otros</DIV>
<DIV>flags, mejorar un poco, o ajustar mas el gentoo a mi sistema?.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; Muchas gracias !</DIV>
<DIV>--</DIV>
<DIV>Facundo Suárez</DIV>
<DIV>Neuquén - Argentina</DIV>
<DIV>FDSoft</DIV>
<DIV>mail y jabber: <A href="mailto:faco@fdsoft.com.ar">faco@fdsoft.com.ar</A></DIV>
<DIV><A href="mailto:facundo.suarez@ensi.com.ar">facundo.suarez@ensi.com.ar</A></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>--</DIV>
<DIV><A href="mailto:gentoo-user-es@gentoo.org">gentoo-user-es@gentoo.org</A> mailing list</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>---Publicidad--------------------------------------------------------</DIV>
<DIV>Únete a los miles de sin pareja en Meetic... ¡te vas a enamorar!</DIV>
<DIV><A href="http://www.iespana.es/_reloc/email.meetic">http://www.iespana.es/_reloc/email.meetic</A></DIV>
<DIV>.</DIV></TD></TR>
<TR>
<TD id=INCREDIFOOTER width="100%">
<TABLE cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR>
<TD width="100%"></TD>
<TD id=INCREDISOUND vAlign=bottom align=middle></TD>
<TD id=INCREDIANIM vAlign=bottom align=middle></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><SPAN id=IncrediStamp><SPAN dir=ltr><FONT face="Arial, Helvetica, sans-serif" size=2>_________________________________________________________________<BR><FONT face="Comic Sans MS" size=2><A href="http://www.incredimail.com/redir.asp?ad_id=310&amp;lang=10"><IMG alt="" hspace=0 src="cid:F8CCFAE9-06D4-4B93-AB34-FA4491C3A272" align=baseline border=0></A>&nbsp; <I>IncrediMail</I> - <B>El E-mail ha evolucionado finalmente</B> - </FONT><A href="http://www.incredimail.com/redir.asp?ad_id=310&amp;lang=10"><FONT face="Times New Roman" size=3><B><U>Haga clic aquí</U></B></FONT></A></SPAN></SPAN></FONT></BODY></HTML>

[-- Attachment #2: IMSTP.gif --]
[-- Type: image/gif, Size: 494 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user-es] flags
  2004-01-28  8:12 [gentoo-user-es] flags Juan Facundo Suárez
  2004-01-28  9:27 ` Angel Cervera Claudio
  2004-01-28  9:36 ` Diego Navaro Garcia
@ 2004-01-28 18:36 ` 7th_sign
  2004-01-28 23:19   ` Simó Albert Beltran
  2 siblings, 1 reply; 6+ messages in thread
From: 7th_sign @ 2004-01-28 18:36 UTC (permalink / raw
  To: gentoo-user-es

Si quieres una pequenia explicacion de los FLAGS pudes leer este post que
hicieron en los foros.

http://forums.gentoo.org/viewtopic.php?t=124836

esta muy bien, me ayudo com mi procesador Athlon MP

On Wed, 28 Jan 2004 05:12:54 -0300, Juan Facundo Suárez wrote
> Hola listeros, vuelvo a hacer la pregunta, ya que sigo con el 
> dilema. Tengo un Celeron de 1.7 GHz, 512 de ddr y disco ATA133. No 
> tengo bien claro cuales serían los flags que debería usar en mi make-
> conf.
> 
>  Solo se que tengo en CHOST="i686-pc-linux-gnu", y el --mcpu=i686. 
> ¿Podría con otros flags, mejorar un poco, o ajustar mas el gentoo a 
> mi sistema?.
> 
>  Muchas gracias !
> --
> Facundo Suárez
> Neuquén - Argentina
> FDSoft
> mail y jabber: faco@fdsoft.com.ar
> facundo.suarez@ensi.com.ar
> 
> --
> gentoo-user-es@gentoo.org mailing list


--
Open WebMail Project (http://openwebmail.org)
Debian Project (http://www.debian.org)


--
gentoo-user-es@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user-es] flags
  2004-01-28 18:36 ` 7th_sign
@ 2004-01-28 23:19   ` Simó Albert Beltran
  2004-01-27 16:18     ` 7th Sign
  0 siblings, 1 reply; 6+ messages in thread
From: Simó Albert Beltran @ 2004-01-28 23:19 UTC (permalink / raw
  To: gentoo-user-es

 7th_sign (Wed, 28 Jan 2004 13:36:44 -0500):
> me ayudo com mi procesador Athlon MP

Tienes un procesador Athlon MP, solo uno??
MP no son procesadores para SMP (sistemas multiprocesador)
XP no es su analogo monoprocesador
Más, XP i MP son el mismo procesador, solo se diferencian en que el MP con una pista cortada para soporte SMP.

--
gentoo-user-es@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-01-30  2:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-28  8:12 [gentoo-user-es] flags Juan Facundo Suárez
2004-01-28  9:27 ` Angel Cervera Claudio
2004-01-28  9:36 ` Diego Navaro Garcia
2004-01-28 18:36 ` 7th_sign
2004-01-28 23:19   ` Simó Albert Beltran
2004-01-27 16:18     ` 7th Sign

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox