[Python-Dev] Library pragma in PC/config.h

Thomas Wouters thomas@xs4all.net
Tue, 8 Aug 2000 17:22:17 +0200


On Tue, Aug 08, 2000 at 08:18:12AM -0700, Trent Mick wrote:
> On Tue, Aug 08, 2000 at 01:41:12PM +0200, Rene Liebscher wrote:
> > I forgot to ask which name you would like for debug libraries

> > 	"python20_bcpp_d.lib" or "python20_d_bcpp.lib"

> > may be we should use "bcpp_python20_d.lib", and use the name schema
> > which I suggested first.

> Python20 is most important so it should go first.

To clarify something Rene said earlier (I appear to have deleted that mail
eventhough I had intended to reply to it :P) 'gcc' names its libraries
'libpython<version>.{so,a}' because that's the UNIX convention: libraries
are named 'lib<name>.<libtype>', where libtype is '.a' for static libraries
and '.so' for dynamic (ELF, in any case) ones, and you link with -l<name>,
without the 'lib' in front of it. The 'lib' is UNIX-imposed, not something
gcc or Guido made up.

-- 
Thomas Wouters <thomas@xs4all.net>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!