This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Another Python namespace pollution


On 27.01.2011 20:54, Gerald Pfeifer wrote:
On Thu, 27 Jan 2011, Gary Benson wrote:
The files should reside in a directory that is private to gcc or
at least mangled with the gcc version it comes from.  Otherwise
multiple parallel gcc installations conflict.
Ah, ok, that shouldn't be too hard. I'll get working on a patch.

Thanks!


In case you are wondering where to put them, there is prior art
based on Tom's fix:

   ./share/gcc-4.6.0/python/libstdcxx/__init__.py<--- The good
   ./share/gcc-4.6.0/python/libstdcxx/v6/printers.py
   ./share/gcc-4.6.0/python/libstdcxx/v6/__init__.py
   ./share/python/classfile.py<--- The bad
   ./share/python/aotcompile.py
   ./lib/libstdc++.so.6-gdb.py<--- The ugly :-)

afaiu the latter one is by design, and has to match the shared object name.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]