
joao carvalho
(usa Ubuntu)
Enviado em 31/12/2017 - 12:19h
sick escreveu:
bash-4.3$ echo ${CFLAGS}
bash-4.3$ [/quote]
Certo. Vá na manha, então.
export CFLAGS="-02 -march=native -s -pipe" ./configure
Se der algum problema, mande o log completo. (E se for muito grande, pelo amor de deus, coloque em algum pastebin [sprunge.us ?].)
[/quote]
agora deu isso
checking for program gcc... /usr/bin/gcc
checking for program gcc... /usr/bin/gcc
checking for CFLAGS -std=gnu99 -pipe -Wall -Wshadow -Wcast-align -Wpointer-arith -Wwrite-strings -Wundef -Wmissing-prototypes -Wredundant-decls -Wextra -Wno-sign-compare -Wformat-security... no
checking for CFLAGS -Wold-style-definition... no
checking for CFLAGS -Wno-pointer-sign... no
checking for CFLAGS -Werror-implicit-function-declaration... no
checking for CFLAGS -Wno-unused-parameter... no
checking if CC can generate dependency information... no
checking byte order...
Failed to compile simple program:
---
int main(int argc, char *argv[])
{
unsigned int i = 1;
return *(char *)&i;
}
---
Command: gcc .tmp-2-prog.c -o .tmp-0-prog -02 -march=native -pipe
Make sure your CC and CFLAGS are sane.
bash-4.3# echo ${CFLAGS}
-02 -march=native -pipe