Alle 19:37, mercoledì 23 novembre 2005, Harry Putnam el ga butta: > |"Francesco R." <[EMAIL PROTECTED]> writes: > | > | > |[...] Snipped good info here ... Thanks > | > |> also the "configure" option you see at compile time may _not_ be > |> the same the ebuild used, _but_ what the ebuild set always > |> override the MySQL default. > | > |So we cannot really tell what is passed to the compiler? The output > |of emerge is just nonsense compared to what really happens?
The output of emerge _is_ what really happens, as it's the output from the build system (auto* tools and gcc) Consider the first "configure" you find: ------------ /var/tmp/portage/mysql-5.0.16-r2/work/mysql >>> Source unpacked. * before to use federated engine be sure to read * http://dev.mysql.com/doc/mysql/en/federated-limitations.html * econf: updating mysql/bdb/dist/config.guess with /usr/share/gnuconfig/config.guess * econf: updating mysql/bdb/dist/config.sub with /usr/share/gnuconfig/config.sub * econf: updating mysql/config.guess with /usr/share/gnuconfig/config.guess * econf: updating mysql/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man [......] --without-big-tables --build=i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu ------------ for example "--build=i686-pc-linux-gnu" it's not directly setted by the ebuild (speaking of ebuild code, not the portage one) and this other (sub)configure, it also contain option not setted by the ebuild. --------------- config.status: executing default commands configure: configuring in innobase configure: running /bin/sh './configure' --prefix=/usr '--prefix=/usr' [......] --cache-file=/dev/null --srcdir=. checking build system type... i686-pc-linux-gnu --------------- As a final ans side note, it's gentoo policy that the ebuild set all the configure options avaiable to it (but it's not _mandated_ to leave the user the possibility to select them via use-flags). -- gentoo-user@gentoo.org mailing list