[Patches] Fix building extensions on Solaris

Greg Ward gward@mems-exchange.org
Wed, 24 May 2000 09:41:59 -0400


On 24 May 2000, I said:
> This patch fixes Python's "configure.in" so that extensions are linked
> with "gcc -G" on Solaris when GCC is the compiler.

OK, I've just built the latest CVS Python with this patch under Solaris
2.6 and gcc 2.8.1.  Works like a charm -- no compilation problems, no
extension-loading problems, and the tests are running just fine.

So I'm guessing that it's a question of figuring out which (Solaris,GCC)
pairs "gcc -G" works on, and refining the patch to take that information
into account.  Does anyone know?

        Greg
-- 
Greg Ward - software developer                gward@mems-exchange.org
MEMS Exchange / CNRI                           voice: +1-703-262-5376
Reston, Virginia, USA                            fax: +1-703-262-5367