Skip to content

[v5] Release .dll with v5 releases. #2642

@divinity76

Description

@divinity76

Feature

  • New architecture module
  • Support for processor extension
  • Add more instruction details (elaborated below)
  • Binding support for: language
  • Other (elaborated below)

Describe the feature you'd like
Can pre-compiled DLLs be released similar to how we release libcapstone-dev_5.0.5_amd64.deb for linux?
It would make it simpler for Windows developers to integrate capstone in their projects.
presumably similar to how the libcapstone-dev_5.0.5_amd64.deb release help Linux developers integrate capstone in their projects.

Additional context
attached a zip with pre-compiled capstone 5.0.5 static dlls for x86-64 and x86-32 here.
capstone_5_0_5_dlls.zip

it would have saved me at least 1 hour if capstone released dlls, given that my first naive attempt at creating a dll was met with

C:\Users\hans\projects\Patcher\capstone-5.0.5>mingw32-make
process_begin: CreateProcess(NULL, uname, ...) failed.
Makefile:11: pipe: No error
process_begin: CreateProcess(NULL, uname -s, ...) failed.
Makefile:89: pipe: No error
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
'grep' is not recognized as an internal or external command,
operable program or batch file.
'grep' is not recognized as an internal or external command,
operable program or batch file.
'grep' is not recognized as an internal or external command,
operable program or batch file.
A subdirectory or file -p already exists.
Error occurred while processing: -p.
A subdirectory or file . already exists.
Error occurred while processing: ..
mingw32-make: *** [Makefile:588: cs.o] Error 1

and my second naive attempt was met with

$ ./make.sh cygwin-mingw64
+ MAKE_JOBS=4
++ uname
+ UNAME=CYGWIN_NT-10.0-19045
+ '[' CYGWIN_NT-10.0-19045 = SunOS ']'
+ MAKE=make
+ echo CYGWIN_NT-10.0-19045
+ grep -q BSD
+ MAKE='make -j4'
+ TARGET=cygwin-mingw64
+ '[' 1 -gt 0 ']'
+ shift
+ case "$TARGET" in
+ CROSS=x86_64-w64-mingw32-
+ make -j4
  CC      cs.o
  CC      utils.o
make: x86_64-w64-mingw32-gcc: No such file or directory
make: *** [Makefile:590: cs.o] Error 127
make: *** Waiting for unfinished jobs....
  CC      MCInstrDesc.o
make: x86_64-w64-mingw32-gcc: No such file or directory
  CC      SStream.o
make: *** [Makefile:590: utils.o] Error 127
make: x86_64-w64-mingw32-gcc: No such file or directory
make: *** [Makefile:590: MCInstrDesc.o] Error 127
make: x86_64-w64-mingw32-gcc: No such file or directory
make: *** [Makefile:590: SStream.o] Error 127

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions