Gentoo Archives: gentoo-user-ru

From: "Kanogin A.A." <kanogin@×××××.ru>
To: "Супотницкий Сергей" <gentoo-user-ru@l.g.o>
Subject: Re: [gentoo-user-ru] У меня выводиться такая ошибка If you need support, post the topmost build error
Date: Thu, 06 Oct 2005 06:26:15
Message-Id: 1636036876.20051006102622@sandy.ru
In Reply to: [gentoo-user-ru] У меня выводиться такая ошибка If you need support, post the topmost build error by "Супотницкий Сергей"
1 Çäðàâñòâóéòå, Ñóïîòíèöêèé.
2
3 Âû ïèñàëè 6 îêòÿáðÿ 2005 ã., 7:40:52:
4 &#1057;&#1057;> configure: error: C compiler cannot create executables
5 Íà ôîðóìå gentoo â òîïèêå GF20: C compiler cannot create executables
6 ( http://forums.gentoo.org/viewtopic-t-294109.html )
7
8 Q: Why am I getting the following error?
9
10 Code:
11 configure: error: C compiler cannot create executables
12
13
14 A: The first thing to check when you get this error is the spelling of your CFLAGS. You should also check whether they're supported by your version of gcc (man gcc will help you here). If you still can't see anything wrong, remove them all and add them back one-by-one until you find the problematic flag.
15
16 Make sure the -march= value you're using is supported by your version of gcc. -march=k8, and -march=pentium-m for instance will only work with gcc 3.4, and not with gcc 3.3.
17
18 You may also be experiencing toolchain problems. Make sure that when you run gcc-config -l or binutils-config -l they point to valid profiles, and set them appropriately if necessary (for instance, type gcc-config 1 to select the first gcc version in the list).
19 ( http://forums.gentoo.org/viewtopic.php?t=27486 )
20
21 You may also find some more solutions in this topic: "C compiler cannot create executables" !??!
22
23 _________________
24 We will be restoring normality as soon as we are sure what is normal anyway. Thankyou.
25
26 Ñóòü:
27 1. Ïðîâåðèòü ôëàãè - îäíà èç âîçìîæíûõ ïðîáëåì ýòî ìèíóñ âî ôëàãàõ
28 2. Ïðîâåðèòü, ÷òî íèæåèäóùèå êîìàíäû óêàçûâàþò íà ñóùåñòâóþùèå ïðîôàéëû:
29 gcc-config -l or binutils-config -l
30
31 --
32 Ñ óâàæåíèåì,
33 Kanogin mailto:kanogin@×××××.ru
34
35
36 --
37 gentoo-user-ru@g.o mailing list

Replies

Subject Author
Re: [gentoo-user-ru] У меня выводиться такая ошибка If you need support, post the topmost build error "Супотницкий Сергей" <supotnickiis@××××××.ru>