🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.python
Article #15813

Re: Python, Windows, kompilator C

#15813
From: Grzegorz Makarewicz
Date: Mon, 19 Jun 2006 08:21
14 lines
1592 bytes
Rob Wolfe wrote:

> Nie do końca. Aby kompilować tylko moduły nie ma konieczności
> przebudowywania całego pythona. Trzeba tylko utworzyć bibliotekę
> importów dla pythono'wej dll'ki, aby mingw mógł ją zlinkować.
> 
> pexports c:\windows\system32\python23.dll > C:\MinGW\lib\python23.def
> dlltool -d C:\MinGW\lib\python23.def -l C:\MinGW\lib\libpython23.a
> 

Dopoki bedzie kompilowany w vc 6 to MinGW bedzie tak dzialal, ale 
przejscie chociazby na 2003 (czyli 2.4 z msi) rozwala ten uklad.

mak
Technical Details
Message-ID: <e75mq0$b5o$1@opal.futuro.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!newsfeed.silweb.pl!newsfeed.tpinternet.pl!opal.futuro.pl!not-for-mail
References: <1150695482.854753.167540@p79g2000cwp.googlegroups.com> <1150700814.639873.85440@h76g2000cwa.googlegroups.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!newsfeed.silweb.pl!newsfeed.tpinternet.pl!opal.futuro.pl!not-for-mail
From: Grzegorz Makarewicz <mak@trisoft.com.pl>
Newsgroups: pl.comp.lang.python
Subject: Re: Python, Windows, kompilator C
Date: Mon, 19 Jun 2006 10:21:44 +0200
Organization: TriSoft Sp.  z o.o.
Lines: 14
Message-ID: <e75mq0$b5o$1@opal.futuro.pl>
References: <1150695482.854753.167540@p79g2000cwp.googlegroups.com> <1150700814.639873.85440@h76g2000cwa.googlegroups.com>
Reply-To: mak@trisoft.com.pl
NNTP-Posting-Host: ntwklan-62-233-173-190.devs.futuro.pl
Mime-Version: 1.0
X-Trace: opal.futuro.pl 1150705280 11448 62.233.173.190 (19 Jun 2006 08:21:20 GMT)
X-Complaints-To: usenet@futuro.pl
NNTP-Posting-Date: Mon, 19 Jun 2006 08:21:20 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20060503 Debian/1.7.8-1sarge6
X-Accept-Language: en
In-Reply-To: <1150700814.639873.85440@h76g2000cwa.googlegroups.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit