Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PATCH] build psutil for win64 using tdm64-gcc(mingw-w64) #158

Closed
giampaolo opened this issue May 23, 2014 · 7 comments
Closed

[PATCH] build psutil for win64 using tdm64-gcc(mingw-w64) #158

giampaolo opened this issue May 23, 2014 · 7 comments

Comments

@giampaolo
Copy link
Owner

From [email protected] on April 22, 2011 09:31:59

What steps will reproduce the problem?
1. generate libpython26.a for win64 using gendef
gendef.exe python26.dll
2. copy libpython26.a to [python26 win64 install path]\libs
3. download and isntall tdm64-gcc 4.5.2-tdm64-1 version from
http://tdm-gcc.tdragon.net/download
4. checkout r965
5. try to build psutil package using tdm64-gcc
python26x64.exe setup.py build_ext -c mingw32 build -c mingw32 -DMS_WIN64
bdist_wininst

**

What is the expected output?  
What do you see instead?**
It is expected tha psutil module for win64 is built without error.
But, compile error occurred.

What version of psutil are you using? What Python version?
psutil r965, Python2.6 win64, tdm64-gcc 4.5.2-tdm64-1

On what operating system? Is it 32bit or 64bit version?
Windows7 64bit SP1

Please provide any additional information below.
libpython26.a : import library for python26 win64 generated by gendef.
build_tdm-win64.patch : patch for build using tdm64-gcc

Attachment: libpython26.a build_tdm-win64.patch

Original issue: http://code.google.com/p/psutil/issues/detail?id=158

@giampaolo
Copy link
Owner Author

From g.rodola on April 22, 2011 00:39:03

Is this patch for compiling psutil with mingw 64 bit?

@giampaolo
Copy link
Owner Author

From [email protected] on April 22, 2011 00:44:30

I attach the 64bit installers of psutil r965 for python 2.5/2.6 built by tdm64-gcc.

Attachment: psutil-0.2.1.win64-py2.5.exe.7z psutil-0.2.1.win-amd64-py2.6.exe.7z

@giampaolo
Copy link
Owner Author

From [email protected] on April 22, 2011 01:33:23

Yes, it is patch for compiling psutil with mingw 64 bit.

@giampaolo
Copy link
Owner Author

From g.rodola on July 29, 2011 07:08:36

Status: Accepted

@giampaolo
Copy link
Owner Author

From g.rodola on December 27, 2012 20:19:14

Issue 345 has been merged into this issue.

@giampaolo
Copy link
Owner Author

From g.rodola on March 02, 2013 03:59:56

Updated csets after the SVN -> Mercurial migration: r965 == revision 
e021400e8eee

@giampaolo
Copy link
Owner Author

Closing this out as outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant