From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Igor Zubkov To: ALT Linux Sisyphus discussion list Subject: Re: [sisyphus] [JT] OpenOffice.org 1.1.4 black icons Date: Wed, 28 Sep 2005 11:53:36 +0300 User-Agent: KMail/1.8.1 References: <200509271336.12079.gray_graff@list.ru> <200509272331.27364.icesik@mail.ru> <433A2D50.60001@altlinux.ru> In-Reply-To: <433A2D50.60001@altlinux.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200509281153.40138.icesik@mail.ru> X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: icesik@altlinux.ru, ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2005 09:00:18 -0000 Archived-At: List-Archive: В сообщении от Среда, 28-Сен-2005 08:42 Антон Горлов написал(a): > >>>>Так как -за ночь реально пересобрать? (23:00-7:00 скажем)? > >>> > >>>Более, чем реально. > >> > >>Значит жду когда в сизифе будет 2.0 и рискну персобрать с оптимизацией! > > > > Если сильно выкрутиш оптимизацию -- может и не справится. Хотя надо > > проверить. > > Какой оптимальный уровень оптимизации? Это уже в зависимости от того что ты хочешь. С -O0 оно должно собратся быстрее всего (т.е. без оптимизации соберётся быстро, но работать будет медленно). С -O3 собиратся будет раза в два медленнее, но и работать будет быстрее. Только с -O3 будет один не приятный момент. Выдержки из info gcc: -O3 Optimize yet more. -O3 turns on all optimizations specified by -O2 and also turns on the -finline-functions, -fweb and -frename-regis- ters options. -fweb Constructs webs as commonly used for register allocation purposes and assign each web individual pseudo register. This allows the register allocation pass to operate on pseudos directly, but also strengthens several other optimization passes, such as CSE, loop optimizer and trivial dead code remover. It can, however, make debugging impossible, since variables will no longer stay in a ``home register''. Enabled at levels -O3. Так что debugging не будет работать. И если приложение вылетает, то ты даже не сможеш отdebugить его. Веселее всего выглядит glibc собранное с -O3 -march=pentium3 -mcpu=pentium3. Спонтанно, что-то где вылетает. И debug не работает. :-) Зато быстро. -- Now playing: Gorky Park [] [] California Promises