how can speedup the compile time of chdk - page 2 - General Discussion and Assistance - CHDK Forum

how can speedup the compile time of chdk

  • 12 Replies
  • 3470 Views
*

Offline fe50

  • ******
  • 3132
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: how can speedup the compile time of chdk
« Reply #10 on: 28 / November / 2010, 15:52:23 »
Advertisements
I test again and do a compile and it works 1 time.
But when i look in the folder   trunk969/platform/ixus1000_sd4500/sub/100d

i see then a new file primary.bin with size 0.
then the next compile fail because it want read from primary.bin with size 0.

So how can avoid when remove primary.bin that no primary.bin with size 0 is create ?
or is this chdkshell Problem ?

I'm not sure what you're doing / why this should fail, i guess something is broken in your build environment, maybe by one of your modifications.

About the primary.bin - this is the default behaviour of the build process for a long time, for years.
When there's no firmware dump placed in the \sub folder, a dummy file (with 0 byte file size) is created.
This normally prevents the build process from creating the stub files...

I suggest to install a fresh, clean & unmodified CHDK-Shell & gcc env  ;)

...then let the Shell load the latest trunk & compile one of the standard builds - this should work out of the box without any issues.

*

Offline whim

  • ******
  • 2041
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: how can speedup the compile time of chdk
« Reply #11 on: 28 / November / 2010, 17:19:44 »
@Bernd R

Try unchecking OPT_GEN_STUBS & OPT_GEN_SIGS (unless of course you did sth to your source
that requires the stubs or sigs to be rebuilt)

wim

PS Please take care changing things to both your source and your build environment at the same time,
     and, if you changed the latter, check regularly on clean trunk source if you haven't broken anything.

Re: how can speedup the compile time of chdk
« Reply #12 on: 29 / November / 2010, 07:09:00 »
thanks, switch off the option  OPT_GEN_STUBS & OPT_GEN_SIGS work ok.
I need not rename prinary.bin to get faster compile.

switch off the option only give compile time of 19 sec now.thats ok for me.
Ixus 1000 HS

 

Related Topics