Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]Problem z gcc
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
Tomi.B
n00b
n00b


Joined: 16 Mar 2013
Posts: 6

PostPosted: Sat Mar 16, 2013 3:31 pm    Post subject: [SOLVED]Problem z gcc Reply with quote

Witam. Już nie raz instalowałem Gentoo. Wczoraj rozpoczęłem kolejną instalację na architekturze ARM. I problem w tym ze w zmiennej MAKEOPTS jak wpisałem march=native to gcc nie kompiluje nic w logach wywala ze architektura nieznana.
Na wiki znalazłem polecenie do sprawdzenia z jakimi optymalizacjami będzie działał gcc po wybraniu march=native

Polecenie:
Code:
echo | gcc -dM -E - -march=native

Wynik:
Code:
cc1: error: bad value (native) for -march switch

Wersja GCC:
Code:
gcc (Gentoo 4.6.3 p1.11, pie-0.5.2) 4.6.3


Last edited by Tomi.B on Sat Mar 16, 2013 4:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
arturx
n00b
n00b


Joined: 06 Jul 2006
Posts: 57

PostPosted: Sat Mar 16, 2013 4:02 pm    Post subject: Reply with quote

ARM nie obsługuje -march=native
http://gcc.gnu.org/onlinedocs/gcc-4.6.3/gcc/ARM-Options.html#ARM-Options
Back to top
View user's profile Send private message
Tomi.B
n00b
n00b


Joined: 16 Mar 2013
Posts: 6

PostPosted: Sat Mar 16, 2013 4:49 pm    Post subject: Reply with quote

Hm... fakt;) Dziękuję.
Back to top
View user's profile Send private message
Crenshaw
Guru
Guru


Joined: 23 Jun 2004
Posts: 474
Location: Poland

PostPosted: Sun Mar 17, 2013 1:03 am    Post subject: Reply with quote

słaby troll,

MAKEOPTS to zmienna w której są parametry dla make

CFLAGS to zmienna której szukasz

w nowszym gcc jest:
http://gcc.gnu.org/onlinedocs/gcc-4.7.2/gcc/ARM-Options.html#ARM-Options
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum