[Python-Dev] Library pragma in PC/config.h (original) (raw)

Trent Mick trentm@ActiveState.com
Tue, 8 Aug 2000 08:26:03 -0700


On Tue, Aug 08, 2000 at 05:22:17PM +0200, Thomas Wouters wrote:

On Tue, Aug 08, 2000 at 08🔞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

> > "python20bcppd.lib" or "python20dbcpp.lib" > > may be we should use "bcpppython20d.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.{so,a}' because that's the UNIX convention: libraries are named 'lib.', where libtype is '.a' for static libraries and '.so' for dynamic (ELF, in any case) ones, and you link with -l, without the 'lib' in front of it. The 'lib' is UNIX-imposed, not something gcc or Guido made up.

Yes, you are right. I was being a Windows bigot there for an email. :)

Trent

-- Trent Mick TrentM@ActiveState.com