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

Windows GUI for gcc toolchain

  • 58 Replies
  • 80192 Views
*

Offline c_joerg

  • *****
  • 1248
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 121a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), 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

  • ******
  • 14080
Re: Windows GUI for gcc toolchain
« Reply #41 on: 25 / May / 2019, 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.

*

Offline msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: Windows GUI for gcc toolchain
« Reply #42 on: 25 / May / 2019, 16:28:28 »
Thanks for making the new capstone build for the GCC GUI.

Can you check your download link. My browser says it is a wrong address, mayby a c/p error.

msl
CHDK-DE:  CHDK-DE links

*

Offline reyalp

  • ******
  • 14080
Re: Windows GUI for gcc toolchain
« Reply #43 on: 25 / May / 2019, 16:36:23 »
Thanks for making the new capstone build for the GCC GUI.

Can you check your download link. My browser says it is a wrong address, mayby a c/p error.
It works for me https://app.box.com/s/qqooc6yuofo8c9rnwafnxiu0stism7ij
Tested in an incognito window to be sure it wasn't a login issue.

There is a somewhat confusing message: "We're sorry, this file type is not currently supported" but that only means there is no preview, you can still click the download button.
Don't forget what the H stands for.


*

Offline msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: Windows GUI for gcc toolchain
« Reply #44 on: 25 / May / 2019, 16:54:44 »
Ok, thanks for testing. It was my mistake. My "pi hole" ad blocker has blocked box.com. Is it all fine.

msl

CHDK-DE:  CHDK-DE links

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Windows GUI for gcc toolchain
« Reply #45 on: 15 / April / 2020, 16:30:28 »
Hi @msl (and other GCC GUI users)

I prepared an alternative compiler suite gcc451_493 for use with the GUI,
with the following changes/additions:

          * use GCC 4.8.1 as host compiler

          * added Tortoise SVN utilities (win32) , no more error popups.

          * added reyalp's latest capstone build

Unfortunately, I don't have any cloud space or server, so it will be here:

          https://www.sendspace.com/file/pbf4ok    (~ 40 MB)

          (will be auto deleted in 30 days, around May 15)

stay safe,

wim

 
« Last Edit: 15 / April / 2020, 16:34:54 by whim »

*

Offline msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: Windows GUI for gcc toolchain
« Reply #46 on: 15 / April / 2020, 16:55:24 »
Hi Whim,

nice to see you again.  :)

Thanks for your work. I have made a cloud backup: https://chdkde.box.com/s/qx1qzt61kwbohnaz747zzr6fiohwe2lg

msl
« Last Edit: 15 / April / 2020, 16:57:36 by msl »
CHDK-DE:  CHDK-DE links

*

Offline fe50

  • ******
  • 3147
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: Windows GUI for gcc toolchain
« Reply #47 on: 17 / April / 2020, 03:48:39 »
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.zipUnlike 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.

Hi @msl (and other GCC GUI users)
I prepared an alternative compiler suite gcc451_493 for use with the GUI,
with the following changes/additions:
          * use GCC 4.8.1 as host compiler
          * added Tortoise SVN utilities (win32) , no more error popups.
          * added reyalp's latest capstone build

Unfortunately, I don't have any cloud space or server, so it will be here:
          https://www.sendspace.com/file/pbf4ok    (~ 40 MB)  (will be auto deleted in 30 days, around May 15)
stay safe,
wim
thx @reyalp & @whim
Additional backup: I've added those two archives to the "Development" section of the  CHDK repository.


*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Windows GUI for gcc toolchain
« Reply #48 on: 26 / April / 2020, 08:33:34 »
@msl
 
Hi,

  Some suggestions for CHDK Compiler GUI:
   
- fix missing logging for 'compile list' & 'compile all'

 - auto-add svn revision to buildconf.inc   

- (commented) changes are in 'BatchCompile' and 'CheckSourceCodeDir'   

- bumped program code to 0.9.289   
 
enjoy,

wim

attached: full source + changes, 7-zipped
edit 6-5-2020: removed attachment
« Last Edit: 06 / May / 2020, 08:11:26 by whim »

*

Offline msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: Windows GUI for gcc toolchain
« Reply #49 on: 05 / May / 2020, 15:49:32 »
@whim

A little late.  ;)

Thanks for your work. I have provide your version as the recent version. The release number comes from the assembla commit number.

Stay healthy.

msl
CHDK-DE:  CHDK-DE links

 

Related Topics