1 |
Em Sexta 03 Agosto 2007 13:09, Rafael Stockler escreveu: |
2 |
> On 8/3/07, Raphael MD <raphamejias@×××××××××.br> wrote: |
3 |
> > Meu firefox foi compilado na minha máquina faz uns 3 meses, foi na época |
4 |
> > que havia reinstalado todo o sistema, sem muitas flags. |
5 |
> > |
6 |
> > Na compilaçao meu CFLAG é esse: |
7 |
> > |
8 |
> > CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" |
9 |
> > CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" |
10 |
> > |
11 |
> > Será que isso pode ajudar na instabilibade? |
12 |
> > Pois compilei quase todo o meu sistema com essa Cflags? |
13 |
> |
14 |
> Pelo que muitos já conversaram aqui na lista mesmo que o -O3 pode |
15 |
> causar muita instabilidade no sistema e em vários softwares. Não me |
16 |
> recordo muito bem quais parâmetros são esses e ouvi comentários tb de |
17 |
> que por exemplo o gcc e outros não funcionam bem com o |
18 |
> -fomit-frame-pointer e mais uma outra flag setada. |
19 |
> |
20 |
> Mas tentei tb seguir os passos do Thiago Nunes, talvez te de uma |
21 |
> solução mais rápida. |
22 |
> |
23 |
> Faça uma pesquisa sobre as flags, de uma olhada nesses sites, talvez |
24 |
> possa te ajudar em um primeiro momento: |
25 |
> |
26 |
> http://gentoo-wiki.com/Safe_Cflags |
27 |
> |
28 |
> http://gentoo-wiki.com/CFLAGS |
29 |
> |
30 |
|
31 |
Muito me engano ou o -fomit-frame-pointer já é ativado na maioria dos casos? |
32 |
|
33 |
|
34 |
-fomit-frame-pointer |
35 |
Don't keep the frame pointer in a register for functions that don't need |
36 |
one. This avoids the instructions to save, set up and restore frame pointers; |
37 |
it also makes an extra register available in many functions. It also makes |
38 |
debugging impossible on some machines. |
39 |
|
40 |
On some machines, such as the VAX, this flag has no effect, because the |
41 |
standard calling sequence automatically handles the frame pointer and nothing |
42 |
is saved by pretending it doesn't exist. The machine-description macro |
43 |
FRAME_POINTER_REQUIRED controls whether a target machine supports this flag. |
44 |
See Register Usage. |
45 |
|
46 |
Enabled at levels -O, -O2, -O3, -Os. |
47 |
|
48 |
|
49 |
http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Optimize-Options.html#Optimize-Options |
50 |
|
51 |
|
52 |
-- |
53 |
Davi Vidal |
54 |
davividal@×××××××××××××.br |
55 |
davividal@×××××.com |
56 |
-- |
57 |
-------------------------------------------------------- |
58 |
Por favor não faça top-posting, coloque a sua resposta abaixo desta linha. |
59 |
Eu não respondo top-post/HTML post. Obrigado. |
60 |
Please don't do top-posting, put your reply below the following line. |
61 |
I don't reply to top-post/HTML post. Thank you. |
62 |
-------------------------------------------------------- |