* [devel] gcc-3.4 precompiled headers @ 2005-03-12 22:30 Alexey Tourbin 2005-03-12 22:56 ` Dmitry V. Levin 2005-03-12 22:58 ` Alexey Rusakov 0 siblings, 2 replies; 22+ messages in thread From: Alexey Tourbin @ 2005-03-12 22:30 UTC (permalink / raw) To: devel [-- Attachment #1: Type: text/plain, Size: 397 bytes --] $ rpm -qlv libstdc++3.4-devel |sort -nk5 |tail -2 |awk '{print$5" "$NF}' 18333074 /usr/include/c++/3.4.3/i586-alt-linux/bits/stdc++.h.gch/O0g 18477660 /usr/include/c++/3.4.3/i586-alt-linux/bits/stdc++.h.gch/O2g $ Не хило. Стало интересно: эта штука при сборке пакетов реально будет использоваться? Или нужно отдельно компилить эти хедеры для %optflags и '%optflags %optflags_shared'? [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] gcc-3.4 precompiled headers 2005-03-12 22:30 [devel] gcc-3.4 precompiled headers Alexey Tourbin @ 2005-03-12 22:56 ` Dmitry V. Levin 2005-03-13 4:34 ` Andrey Rahmatullin 2005-03-12 22:58 ` Alexey Rusakov 1 sibling, 1 reply; 22+ messages in thread From: Dmitry V. Levin @ 2005-03-12 22:56 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 637 bytes --] Hi, On Sun, Mar 13, 2005 at 01:30:20AM +0300, Alexey Tourbin wrote: > $ rpm -qlv libstdc++3.4-devel |sort -nk5 |tail -2 |awk '{print$5" "$NF}' > 18333074 /usr/include/c++/3.4.3/i586-alt-linux/bits/stdc++.h.gch/O0g > 18477660 /usr/include/c++/3.4.3/i586-alt-linux/bits/stdc++.h.gch/O2g > $ > > Не хило. Стало интересно: эта штука при сборке пакетов реально будет > использоваться? Если компилятор специально попросить, то будет. Если места жалко, то можно запаковать отдельно. > Или нужно отдельно компилить эти хедеры для %optflags > и '%optflags %optflags_shared'? Для оптимизации нужно, наверное. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] gcc-3.4 precompiled headers 2005-03-12 22:56 ` Dmitry V. Levin @ 2005-03-13 4:34 ` Andrey Rahmatullin 2005-03-18 11:03 ` Serge Pavlovsky 0 siblings, 1 reply; 22+ messages in thread From: Andrey Rahmatullin @ 2005-03-13 4:34 UTC (permalink / raw) To: devel [-- Attachment #1: Type: text/plain, Size: 825 bytes --] On Sun, Mar 13, 2005 at 01:56:45AM +0300, Dmitry V. Levin wrote: > > Не хило. Стало интересно: эта штука при сборке пакетов реально будет > > использоваться? > Если компилятор специально попросить, то будет. > > Или нужно отдельно компилить эти хедеры для %optflags > > и '%optflags %optflags_shared'? > Для оптимизации нужно, наверное. Тогда другой вопрос: чем в текущей ситуации их наличие отличается от их отсутствия? Используются ли они при сборке софта в пакеты либо руками, если никаких доп.флагов специально не добавлялось? Если нет, то что необходимо сделать, чтобы они использовались? -- WBR, wRAR (ALT Linux Team) Powered by the ALT Linux fortune(8): > > [...] Нету, говорю, HTB в ядре. > Есть: net/sched/sch_htb.c. Собирается. Мы теперь можем на это рассчитывать? (c) -- pilot in devel@ [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] gcc-3.4 precompiled headers 2005-03-13 4:34 ` Andrey Rahmatullin @ 2005-03-18 11:03 ` Serge Pavlovsky 2005-03-18 11:22 ` Andrey Rahmatullin 0 siblings, 1 reply; 22+ messages in thread From: Serge Pavlovsky @ 2005-03-18 11:03 UTC (permalink / raw) To: ALT Devel discussion list В Вск, 13/03/2005 в 09:34 +0500, Andrey Rahmatullin пишет: > On Sun, Mar 13, 2005 at 01:56:45AM +0300, Dmitry V. Levin wrote: > > > Не хило. Стало интересно: эта штука при сборке пакетов реально будет > > > использоваться? > > Если компилятор специально попросить, то будет. > > > Или нужно отдельно компилить эти хедеры для %optflags > > > и '%optflags %optflags_shared'? > > Для оптимизации нужно, наверное. > Тогда другой вопрос: чем в текущей ситуации их наличие отличается от их > отсутствия? Используются ли они при сборке софта в пакеты либо руками, > если никаких доп.флагов специально не добавлялось? Если нет, то что > необходимо сделать, чтобы они использовались? #include <stdc++.h> или bits/stdc++.h ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] gcc-3.4 precompiled headers 2005-03-18 11:03 ` Serge Pavlovsky @ 2005-03-18 11:22 ` Andrey Rahmatullin 2005-03-18 11:25 ` Sergey Pinaev ` (2 more replies) 0 siblings, 3 replies; 22+ messages in thread From: Andrey Rahmatullin @ 2005-03-18 11:22 UTC (permalink / raw) To: devel [-- Attachment #1: Type: text/plain, Size: 531 bytes --] On Fri, Mar 18, 2005 at 01:03:53PM +0200, Serge Pavlovsky wrote: > #include <stdc++.h> или bits/stdc++.h В каждую софтину? Ну и нафик они нужны тогда? -- WBR, wRAR (ALT Linux Team) Powered by the ALT Linux fortune(8): > Я не член команды разработчиков Сизифа и вообще не kernel > hacker. Но мне нужен NSF root support в ядре. Чего тут > странного? А у другого может какая железка древняя > экзотическая, поддержки которой в стандартном ядре нет. Так что ж Вы до сих пор не в devel-kernel@? -- mike in sisyphus@ [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] gcc-3.4 precompiled headers 2005-03-18 11:22 ` Andrey Rahmatullin @ 2005-03-18 11:25 ` Sergey Pinaev 2005-03-18 11:28 ` Alexey Rusakov 2005-03-18 13:20 ` Serge Pavlovsky 2 siblings, 0 replies; 22+ messages in thread From: Sergey Pinaev @ 2005-03-18 11:25 UTC (permalink / raw) To: ALT Devel discussion list On Fri, 18 Mar 2005 16:22:58 +0500 Andrey Rahmatullin <wrar-alt@mail.ru> wrote: > > #include <stdc++.h> или bits/stdc++.h > В каждую софтину? > Ну и нафик они нужны тогда? для разработчика. чтобы собиралось побыстрей. -- mail="Sergey Pinaev <dfo@antex.ru>" url="http://`echo $mail | sed 's/.* <\(.*\)@\(.*\)>/\1.\2/'`" ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] gcc-3.4 precompiled headers 2005-03-18 11:22 ` Andrey Rahmatullin 2005-03-18 11:25 ` Sergey Pinaev @ 2005-03-18 11:28 ` Alexey Rusakov 2005-03-18 13:20 ` Serge Pavlovsky 2 siblings, 0 replies; 22+ messages in thread From: Alexey Rusakov @ 2005-03-18 11:28 UTC (permalink / raw) To: ALT Devel discussion list Andrey Rahmatullin wrote: >On Fri, Mar 18, 2005 at 01:03:53PM +0200, Serge Pavlovsky wrote: > > >>#include <stdc++.h> или bits/stdc++.h >> >> >В каждую софтину? >Ну и нафик они нужны тогда? > > Для ускорения сборки, вестимо :) Баловство это. Пока, по крайней мере. ИМХО. -- Alexey "Ktirf" Rusakov ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] gcc-3.4 precompiled headers 2005-03-18 11:22 ` Andrey Rahmatullin 2005-03-18 11:25 ` Sergey Pinaev 2005-03-18 11:28 ` Alexey Rusakov @ 2005-03-18 13:20 ` Serge Pavlovsky 2005-03-18 14:40 ` Andrey Rahmatullin 2 siblings, 1 reply; 22+ messages in thread From: Serge Pavlovsky @ 2005-03-18 13:20 UTC (permalink / raw) To: ALT Devel discussion list В Птн, 18/03/2005 в 16:22 +0500, Andrey Rahmatullin пишет: > On Fri, Mar 18, 2005 at 01:03:53PM +0200, Serge Pavlovsky wrote: > > #include <stdc++.h> или bits/stdc++.h > В каждую софтину? > Ну и нафик они нужны тогда? это также относится ко всем остальным файлам в /usr/include ;) ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] gcc-3.4 precompiled headers 2005-03-18 13:20 ` Serge Pavlovsky @ 2005-03-18 14:40 ` Andrey Rahmatullin 2005-03-18 15:09 ` Serge Pavlovsky 0 siblings, 1 reply; 22+ messages in thread From: Andrey Rahmatullin @ 2005-03-18 14:40 UTC (permalink / raw) To: devel [-- Attachment #1: Type: text/plain, Size: 965 bytes --] On Fri, Mar 18, 2005 at 03:20:41PM +0200, Serge Pavlovsky wrote: > > > #include <stdc++.h> или bits/stdc++.h > > В каждую софтину? > > Ну и нафик они нужны тогда? > это также относится ко всем остальным файлам в /usr/include ;) Когда я хочу скомпилить чужую с++-софтину, я беру и компилю ее. При этом в ее исходниках уже вписаны #include <iostream.h> и т.д. Поэтому я не спрашиваю, нафик нужен iostream.h. Когда я хочу скомпилить чужую с++-софтину с использованием PCH, я должен править ее исходники? Или это неправильное желание? Или я все-таки могу их заюзать без правки исходников? Если ответ на последний вопрос "нет" - мне непонятно, зачем они вообще нужны, я уж не говорю про необходимость их упаковки в один пакет с гораздо более полезным iostream.h. В конце концов, насколько я понимаю, их можно перегенерить руками. -- WBR, wRAR (ALT Linux Team) Powered by the ALT Linux fortune(8): А bugzilla об этом уже знает? -- ldv in devel@ [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] gcc-3.4 precompiled headers 2005-03-18 14:40 ` Andrey Rahmatullin @ 2005-03-18 15:09 ` Serge Pavlovsky 2005-03-18 16:08 ` Andrey Rahmatullin 0 siblings, 1 reply; 22+ messages in thread From: Serge Pavlovsky @ 2005-03-18 15:09 UTC (permalink / raw) To: ALT Devel discussion list В Птн, 18/03/2005 в 19:40 +0500, Andrey Rahmatullin пишет: > On Fri, Mar 18, 2005 at 03:20:41PM +0200, Serge Pavlovsky wrote: > > > > #include <stdc++.h> или bits/stdc++.h > > > В каждую софтину? > > > Ну и нафик они нужны тогда? > > это также относится ко всем остальным файлам в /usr/include ;) > Когда я хочу скомпилить чужую с++-софтину, я беру и компилю ее. При этом > в ее исходниках уже вписаны #include <iostream.h> и т.д. это еще почему ? > Поэтому я не спрашиваю, > нафик нужен iostream.h. > Когда я хочу скомпилить чужую с++-софтину с использованием PCH, я должен > править ее исходники? Или это неправильное желание? Или я все-таки могу их > заюзать без правки исходников? Если ответ на последний вопрос "нет" - мне > непонятно, зачем они вообще нужны, я уж не говорю про необходимость их > упаковки в один пакет с гораздо более полезным iostream.h. вы не можете заюзать никакие заголовки без правки исходников хотя, есть параметр -include или типа того > В конце концов, насколько я понимаю, их можно перегенерить руками. можно и gcc руками поставить ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] gcc-3.4 precompiled headers 2005-03-18 15:09 ` Serge Pavlovsky @ 2005-03-18 16:08 ` Andrey Rahmatullin 2005-03-18 16:18 ` Serge Pavlovsky 0 siblings, 1 reply; 22+ messages in thread From: Andrey Rahmatullin @ 2005-03-18 16:08 UTC (permalink / raw) To: devel [-- Attachment #1: Type: text/plain, Size: 477 bytes --] On Fri, Mar 18, 2005 at 05:09:07PM +0200, Serge Pavlovsky wrote: > > Когда я хочу скомпилить чужую с++-софтину, я беру и компилю ее. При этом > > в ее исходниках уже вписаны #include <iostream.h> и т.д. > это еще почему ? Ну аффтар написал так. > вы не можете заюзать никакие заголовки без правки исходников Фтопку. -- WBR, wRAR (ALT Linux Team) Powered by the ALT Linux fortune(8): Объяснять шутки - тупое и неблагодарное занятие :-) -- morozov in devel@ [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] gcc-3.4 precompiled headers 2005-03-18 16:08 ` Andrey Rahmatullin @ 2005-03-18 16:18 ` Serge Pavlovsky 2005-03-18 17:48 ` Andrey Rahmatullin 0 siblings, 1 reply; 22+ messages in thread From: Serge Pavlovsky @ 2005-03-18 16:18 UTC (permalink / raw) To: ALT Devel discussion list В Птн, 18/03/2005 в 21:08 +0500, Andrey Rahmatullin пишет: > On Fri, Mar 18, 2005 at 05:09:07PM +0200, Serge Pavlovsky wrote: > > > Когда я хочу скомпилить чужую с++-софтину, я беру и компилю ее. При этом > > > в ее исходниках уже вписаны #include <iostream.h> и т.д. > > это еще почему ? > Ну аффтар написал так. вот и ответ на ваш вопрос ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] gcc-3.4 precompiled headers 2005-03-18 16:18 ` Serge Pavlovsky @ 2005-03-18 17:48 ` Andrey Rahmatullin 2005-03-18 18:06 ` Mikhail Yakshin 2005-03-21 3:24 ` [devel] " Serge Pavlovsky 0 siblings, 2 replies; 22+ messages in thread From: Andrey Rahmatullin @ 2005-03-18 17:48 UTC (permalink / raw) To: devel [-- Attachment #1: Type: text/plain, Size: 714 bytes --] On Fri, Mar 18, 2005 at 06:18:11PM +0200, Serge Pavlovsky wrote: > > > > Когда я хочу скомпилить чужую с++-софтину, я беру и компилю ее. При этом > > > > в ее исходниках уже вписаны #include <iostream.h> и т.д. > > > это еще почему ? > > Ну аффтар написал так. > вот и ответ на ваш вопрос Ну так раз нет софта, поддерживающего PCH, и нет простого способа добавить эту поддержку без патченья исходников, _ЗАЧЕМ_ они в стандартной поставке g++??? -- WBR, wRAR (ALT Linux Team) Powered by the ALT Linux fortune(8): > Да ты никак на памятник при жизни набиваешься, от встроенных > пользователей? ;-) Ну, это... (скромно потупив взор)... не первый. В смысле, памятник :-) -- morozov in sisyphus@ [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] gcc-3.4 precompiled headers 2005-03-18 17:48 ` Andrey Rahmatullin @ 2005-03-18 18:06 ` Mikhail Yakshin 2005-03-18 19:30 ` Andrey Rahmatullin 2005-03-21 3:24 ` [devel] " Serge Pavlovsky 1 sibling, 1 reply; 22+ messages in thread From: Mikhail Yakshin @ 2005-03-18 18:06 UTC (permalink / raw) To: ALT Devel discussion list Andrey Rahmatullin пишет: > On Fri, Mar 18, 2005 at 06:18:11PM +0200, Serge Pavlovsky wrote: > >>>>>Когда я хочу скомпилить чужую с++-софтину, я беру и компилю ее. При этом >>>>>в ее исходниках уже вписаны #include <iostream.h> и т.д. >>>> >>>>это еще почему ? >>> >>>Ну аффтар написал так. >> >>вот и ответ на ваш вопрос > > Ну так раз нет софта, поддерживающего PCH, и нет простого способа добавить > эту поддержку без патченья исходников, _ЗАЧЕМ_ они в стандартной поставке g++??? Пожалуйста, почитайте соответствующую страничку info, которая идет с gcc. Там все популярно и доступно объяснено, что, как, зачем и почему. Я вот, например, пользуюсь, получаю примерно 6-7 кратный прирост в скорости при сборке KDE/Qt-программ. Если вкратце - то для любой прилично написанной программы имеет смысл сделать что-то вроде: cat *.cpp *.h | grep '#include' | sort -u >all.h Скомпилировать полученный all.h в PCH: g++ $(опции) all.h и затем подключать этот all.h при сборке всех файлов: g++ -include all.h $(опции) -c somefile.cpp -o somefile.o Что-то в этом роде. В стандартной поставке прекомплированные stdc++.h играют роль именно таких вот файлов all.h, скомплириованных, правда, только с libstdc++'ными заголовками. Но для многих программ на C++ это тоже может дать неплохой прирост в производительности сборки. -- WBR, Mikhail Yakshin AKA GreyCat ALT Linux [http://www.altlinux.ru] [xmpp:greycat@altlinux.org] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] gcc-3.4 precompiled headers 2005-03-18 18:06 ` Mikhail Yakshin @ 2005-03-18 19:30 ` Andrey Rahmatullin 2005-03-18 19:40 ` Mikhail Yakshin 0 siblings, 1 reply; 22+ messages in thread From: Andrey Rahmatullin @ 2005-03-18 19:30 UTC (permalink / raw) To: devel [-- Attachment #1: Type: text/plain, Size: 1086 bytes --] On Fri, Mar 18, 2005 at 09:06:02PM +0300, Mikhail Yakshin wrote: > Если вкратце - то для любой прилично написанной программы имеет смысл > сделать что-то вроде: > > cat *.cpp *.h | grep '#include' | sort -u >all.h > > Скомпилировать полученный all.h в PCH: > > g++ $(опции) all.h > > и затем подключать этот all.h при сборке всех файлов: > > g++ -include all.h $(опции) -c somefile.cpp -o somefile.o Я все же больш-во программ rpmbuild'ом собираю. > В стандартной поставке прекомплированные stdc++.h играют роль именно > таких вот файлов all.h, скомплириованных, правда, только с > libstdc++'ными заголовками. Но для многих программ на C++ это тоже может > дать неплохой прирост в производительности сборки. Так как их подключить? -include в makefile пихать? Тем более нафик мне -O2 -g? -- WBR, wRAR (ALT Linux Team) Powered by the ALT Linux fortune(8): Содержимое коробки с Мастером заслуживает того, чтобы купить к ней ещё и DVD. Правда боюсь, что если класть в коробку USB DVD-читалку, то гнилыми фруктами закидают. -- mithraen in community@ [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] gcc-3.4 precompiled headers 2005-03-18 19:30 ` Andrey Rahmatullin @ 2005-03-18 19:40 ` Mikhail Yakshin 2005-03-19 6:53 ` Andrey Rahmatullin 0 siblings, 1 reply; 22+ messages in thread From: Mikhail Yakshin @ 2005-03-18 19:40 UTC (permalink / raw) To: ALT Devel discussion list Andrey Rahmatullin пишет: > On Fri, Mar 18, 2005 at 09:06:02PM +0300, Mikhail Yakshin wrote: > >>Если вкратце - то для любой прилично написанной программы имеет смысл >>сделать что-то вроде: >> >>cat *.cpp *.h | grep '#include' | sort -u >all.h >> >>Скомпилировать полученный all.h в PCH: >> >>g++ $(опции) all.h >> >>и затем подключать этот all.h при сборке всех файлов: >> >>g++ -include all.h $(опции) -c somefile.cpp -o somefile.o > > Я все же больш-во программ rpmbuild'ом собираю. А эта штука нацелена в первую очередь на разработчиков, а не на сборщиков, собирающих конечный результат в пакеты. >>В стандартной поставке прекомплированные stdc++.h играют роль именно >>таких вот файлов all.h, скомплириованных, правда, только с >>libstdc++'ными заголовками. Но для многих программ на C++ это тоже может >>дать неплохой прирост в производительности сборки. > > Так как их подключить? -include в makefile пихать? Ну, например так, да. Еще, например, я видел варианты, когда в configure что-то вроде --enable-pch делается, и тогда уже в программе есть в глобально включающемся везде config.h что-то вроде: #ifdef ENABLE_PCH #include "all.h" #endif > Тем более нафик мне -O2 -g? А для разработчиков - самое оно. -- WBR, Mikhail Yakshin AKA GreyCat ALT Linux [http://www.altlinux.ru] [xmpp:greycat@altlinux.org] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] gcc-3.4 precompiled headers 2005-03-18 19:40 ` Mikhail Yakshin @ 2005-03-19 6:53 ` Andrey Rahmatullin 2005-03-19 21:21 ` Dmitry V. Levin 0 siblings, 1 reply; 22+ messages in thread From: Andrey Rahmatullin @ 2005-03-19 6:53 UTC (permalink / raw) To: devel [-- Attachment #1: Type: text/plain, Size: 307 bytes --] Вобщем не нужны они в libstdc++-devel. -- WBR, wRAR (ALT Linux Team) Powered by the ALT Linux fortune(8): >в /etc/alternatives нет линков >в /etc/alternatives/packages.d все файлы с мусором >Как лечить то? На следующей неделе maintainer пакета alternatives вас успокоит. -- ldv in sisyphus@ [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] gcc-3.4 precompiled headers 2005-03-19 6:53 ` Andrey Rahmatullin @ 2005-03-19 21:21 ` Dmitry V. Levin 2005-03-20 5:58 ` [devel] " Michael Shigorin 0 siblings, 1 reply; 22+ messages in thread From: Dmitry V. Levin @ 2005-03-19 21:21 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 317 bytes --] On Sat, Mar 19, 2005 at 11:53:54AM +0500, Andrey Rahmatullin wrote: > Вобщем не нужны они в libstdc++-devel. Я тоже так подумал, когда паковал gcc3.4. Надо бы вынести в отдельный подпакет. Имя ему придумать осталось. libstdc++3.4-devel-precompiled длинновато, libstdc++3.4-devel-gch непонятно. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* [devel] Re: gcc-3.4 precompiled headers 2005-03-19 21:21 ` Dmitry V. Levin @ 2005-03-20 5:58 ` Michael Shigorin 0 siblings, 0 replies; 22+ messages in thread From: Michael Shigorin @ 2005-03-20 5:58 UTC (permalink / raw) To: ALT Devel discussion list On Sun, Mar 20, 2005 at 12:21:58AM +0300, Dmitry V. Levin wrote: > libstdc++3.4-devel-gch непонятно. А GCH -- это устоявшаяся аббревиатура? (и, кстати, другие-то этот вопрос как решали, если вообще?) -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] gcc-3.4 precompiled headers 2005-03-18 17:48 ` Andrey Rahmatullin 2005-03-18 18:06 ` Mikhail Yakshin @ 2005-03-21 3:24 ` Serge Pavlovsky 1 sibling, 0 replies; 22+ messages in thread From: Serge Pavlovsky @ 2005-03-21 3:24 UTC (permalink / raw) To: ALT Devel discussion list В Птн, 18/03/2005 в 22:48 +0500, Andrey Rahmatullin пишет: > On Fri, Mar 18, 2005 at 06:18:11PM +0200, Serge Pavlovsky wrote: > > > > > Когда я хочу скомпилить чужую с++-софтину, я беру и компилю ее. При этом > > > > > в ее исходниках уже вписаны #include <iostream.h> и т.д. > > > > это еще почему ? > > > Ну аффтар написал так. > > вот и ответ на ваш вопрос > Ну так раз нет софта, поддерживающего PCH, и нет простого способа добавить > эту поддержку без патченья исходников, _ЗАЧЕМ_ они в стандартной поставке g++??? вы ошиблись в обоих пунктах, но ответ есть все равно - чтобы он появился ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] gcc-3.4 precompiled headers 2005-03-12 22:30 [devel] gcc-3.4 precompiled headers Alexey Tourbin 2005-03-12 22:56 ` Dmitry V. Levin @ 2005-03-12 22:58 ` Alexey Rusakov 2005-03-18 11:03 ` Serge Pavlovsky 1 sibling, 1 reply; 22+ messages in thread From: Alexey Rusakov @ 2005-03-12 22:58 UTC (permalink / raw) To: ALT Devel discussion list Alexey Tourbin wrote: >$ rpm -qlv libstdc++3.4-devel |sort -nk5 |tail -2 |awk '{print$5" "$NF}' >18333074 /usr/include/c++/3.4.3/i586-alt-linux/bits/stdc++.h.gch/O0g >18477660 /usr/include/c++/3.4.3/i586-alt-linux/bits/stdc++.h.gch/O2g >$ > >Не хило. Стало интересно: эта штука при сборке пакетов реально будет >использоваться? Или нужно отдельно компилить эти хедеры для %optflags >и '%optflags %optflags_shared'? > > Кстати, это интересный вопрос: а с какими флагами они были собраны? Насколько я знаю, предсобранные заголовки можно использовать только с теми же флагами компиляции, с которыми они были собраны. -- Alexey "Ktirf" Rusakov ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] gcc-3.4 precompiled headers 2005-03-12 22:58 ` Alexey Rusakov @ 2005-03-18 11:03 ` Serge Pavlovsky 0 siblings, 0 replies; 22+ messages in thread From: Serge Pavlovsky @ 2005-03-18 11:03 UTC (permalink / raw) To: ALT Devel discussion list В Вск, 13/03/2005 в 01:58 +0300, Alexey Rusakov пишет: > Alexey Tourbin wrote: > > >$ rpm -qlv libstdc++3.4-devel |sort -nk5 |tail -2 |awk '{print$5" "$NF}' > >18333074 /usr/include/c++/3.4.3/i586-alt-linux/bits/stdc++.h.gch/O0g > >18477660 /usr/include/c++/3.4.3/i586-alt-linux/bits/stdc++.h.gch/O2g > >$ > > > >Не хило. Стало интересно: эта штука при сборке пакетов реально будет > >использоваться? Или нужно отдельно компилить эти хедеры для %optflags > >и '%optflags %optflags_shared'? > > > > > Кстати, это интересный вопрос: а с какими флагами они были собраны? > Насколько я знаю, предсобранные заголовки можно использовать только с > теми же флагами компиляции, с которыми они были собраны. -O0 -g и -O2 -g а на что это похоже ? ;) ^ permalink raw reply [flat|nested] 22+ messages in thread
end of thread, other threads:[~2005-03-21 3:24 UTC | newest] Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2005-03-12 22:30 [devel] gcc-3.4 precompiled headers Alexey Tourbin 2005-03-12 22:56 ` Dmitry V. Levin 2005-03-13 4:34 ` Andrey Rahmatullin 2005-03-18 11:03 ` Serge Pavlovsky 2005-03-18 11:22 ` Andrey Rahmatullin 2005-03-18 11:25 ` Sergey Pinaev 2005-03-18 11:28 ` Alexey Rusakov 2005-03-18 13:20 ` Serge Pavlovsky 2005-03-18 14:40 ` Andrey Rahmatullin 2005-03-18 15:09 ` Serge Pavlovsky 2005-03-18 16:08 ` Andrey Rahmatullin 2005-03-18 16:18 ` Serge Pavlovsky 2005-03-18 17:48 ` Andrey Rahmatullin 2005-03-18 18:06 ` Mikhail Yakshin 2005-03-18 19:30 ` Andrey Rahmatullin 2005-03-18 19:40 ` Mikhail Yakshin 2005-03-19 6:53 ` Andrey Rahmatullin 2005-03-19 21:21 ` Dmitry V. Levin 2005-03-20 5:58 ` [devel] " Michael Shigorin 2005-03-21 3:24 ` [devel] " Serge Pavlovsky 2005-03-12 22:58 ` Alexey Rusakov 2005-03-18 11:03 ` Serge Pavlovsky
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git