Windows GUI for gcc toolchain - page 5 - General Discussion and Assistance - CHDK Forum

Windows GUI for gcc toolchain

  • 41 Replies
  • 51574 Views
Re: Windows GUI for gcc toolchain
« Reply #40 on: 23 / May / 2019, 15:14:06 »
Advertisements
Have you checked die bin folder for the compiled CHDK version in the source code directory (...\trunk-5216\bin)?
I've overlooked ;) Thanks again...
My first CHDK build :)
Code: [Select]
**** Firmware creation completed successfully
\-> CHDK_DE-m3-101a-1.5.0-5216.zip
The capstone folder is only optional for developers.
I want to be prepared for the M100 port  ;)

M100 100a, M3 101a, 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), 2*S45,
Flickr https://www.flickr.com/photos/136329431@N06/albums
YouTube https://www.youtube.com/channel/UCrTH0tHy9OYTVDzWIvXEMlw/videos?shelf_id=0&view=0&sort=dd

*

Offline reyalp

  • ******
  • 11862
Re: Windows GUI for gcc toolchain
« Reply #41 on: Today at 00:43:47 »
I made a build of capstone 4.0.1 which is compatible with the windows toolchain. Available from https://app.box.com/s/qqooc6yuofo8c9rnwafnxiu0stism7ij

md5sum
Code: [Select]
11d1ccf1cb2b8375433f1d2911402818 capstone-mingw32-chdk-4.0.1.zip

Unlike 3.x, no source patch is required, but the builds provided on the capstone download pages are not easily usable with the GUI and windows toolchain.

This package was built by starting a command prompt from the GUI, running bash in the command prompt, and then running
Code: [Select]
MAKE_JOBS=1 CAPSTONE_ARCHS="arm" CAPSTONE_STATIC="yes" ./make.sh
PREFIX=/d/devel/capstone-mingw32-chdk-4.0.1 CAPSTONE_ARCHS="arm" make install
where /d/devel... is the directory that will be used to make the zip. The contents of include/capstone were then moved into the include directory, to match the structure expected by the GUI.

The MAKE_JOBS=1 setting appears to be required for the build to work in mingw shells.

Anyone using the capstone tools in development should update to 4.0.1. I plan to remove capstone 3.x support soon.
Don't forget what the H stands for.

 

Related Topics