edisona / androguard

Automatically exported from code.google.com/p/androguard
Apache License 2.0
1 stars 0 forks source link

Patch file for OSX porting #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There are three problems when compiling androguard under OSX
1. Python binding should manually link with -lpython
2. an inline assembly code with condition micro
3. hash_map header file's path changed in g++ of Xcode

I've patched these problems and attached the patch file here.

My environment is OSX Lion 10.7.3, Xcode 4.3.1, g++ 4.2.1

Original issue reported on code.google.com by xiaozih...@gmail.com on 21 Mar 2012 at 3:37

Attachments:

GoogleCodeExporter commented 9 years ago
Thx !!

Can you test the new mercurial version ?

Original comment by anthony....@gmail.com on 23 Mar 2012 at 8:47

GoogleCodeExporter commented 9 years ago
No works. Seems you forget to patch androguard/core/bytecodes/libdvm/dvm.h

Original comment by xiaozih...@gmail.com on 23 Mar 2012 at 9:06

GoogleCodeExporter commented 9 years ago
you're right.

Fixed :)

Original comment by anthony....@gmail.com on 23 Mar 2012 at 9:12

GoogleCodeExporter commented 9 years ago
ok now. successfully built it.

Original comment by xiaozih...@gmail.com on 23 Mar 2012 at 9:22