[Distutils] a patch for distutils + gcc + linux, that was never apply, yet will solve many problems.

Jorge Vargas jorge.vargas at gmail.com
Tue Jul 25 05:27:58 CEST 2006


sorry for not replying earlier I have been busy at work.

On 7/14/06, Ronald Oussoren <ronaldoussoren at mac.com> wrote:
>
>
> On Jul 14, 2006, at 3:35 PM, Jorge Vargas wrote:
>
> > On 7/11/06, Ronald Oussoren <ronaldoussoren at mac.com> wrote:
> >
> > On Jul 11, 2006, at 5:17 PM, Jorge Vargas wrote:
> >
> > > noone cares about this? it's a bug so simple to fix....
> >
> > There's loads of bugs and patches in the python tracker, and only a
> > limited amount of time that people work on python.  The patch you
> > mentioned also sounds like a fix for a very limited audience, which
> > could explain why nobody has seriously looked at it yet.
> >
> > the patch is more then a year old and is so simple yet so usefull
> > it will take less then 10 min  for someone that has commit access
>
> I haven't looked at the actual patch yet, just read its description.
> Given its description this patch is not something I would have
> reviewed because it seems to be for a very limited audience and is
> not something I can test without additional work (e.g. installing
> ccache).


If you open the patch it's just adding one flag to gcc

>
> > Are there systems other then gentoo that don't use gcc and g++ but
> > some seemingly cross-compiling setup?
> >
> > the patch is directed to the unixcompiler so why cross-compile?
>
> Your example mentions a gcc that is named i686-pc-linux-gnu-gcc,
> which looks like a cross-compiling setup to me, a conventional gcc
> setup just has 'gcc' as the name of the compiler. Which systems
> install gcc as i686-pc-linux-gnu-gcc?


the system is gentoo the reason for ccache is that gentoo is a source based
distro. As for the name it is just how the package system (emerge) calls it,
although it will let you compile for other archs, the defaults are set to
your system at instalation time.

gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/specs
Configured with: /var/tmp/portage/gcc-3.3.6/work/gcc-3.3.6/configure
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3.6
--includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/info
--with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3
--host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec
--enable-nls --without-included-gettext --with-system-zlib
--disable-checking --disable-werror --disable-libunwind-exceptions
--disable-multilib --disable-libgcj --enable-languages=c,c++,f77
--enable-shared --enable-threads=posix --enable-__cxa_atexit
--enable-clocale=gnu
Thread model: posix
gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)


Ronald
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/distutils-sig/attachments/20060724/61284493/attachment.htm 


More information about the Distutils-SIG mailing list