modification and compilation of run-ubasic.c - DSLR Hack development - CHDK Forum

modification and compilation of run-ubasic.c

  • 3 Replies
  • 4463 Views
modification and compilation of run-ubasic.c
« on: 26 / October / 2008, 14:00:32 »
Advertisements
Hello,

I'd like to modify the run-ubasic.c file. I made modification on it but I don't understand the compilation process of this file. If I make errors on this file, there is no error message during the compilation. Is this file used?

I make the compilation with the gmake version-a530 command (I customized my makefile to compile only for 1 platform, it works correctly.

Thank you.

*

Offline reyalp

  • ******
  • 14128
Re: modification and compilation of run-ubasic.c
« Reply #1 on: 26 / October / 2008, 15:23:43 »
this file isn't built by default. Indeed, it's suffered quite a bit of code rot and doesn't compile right out of svn. See the collaborative CHDK build

Note that the patch in my post linked above is also out of date.

If you want to fix it up properly, I'd be happy to check it in. You can look at the tools directory to see how to compile native tools (as opposed things built for the camera)
Don't forget what the H stands for.

Re: modification and compilation of run-ubasic.c
« Reply #2 on: 26 / October / 2008, 17:13:54 »
thank you reyal for your response (even if i dont understand all, my english is poor!)
With your patch, I understood how to create the run-ubasic.exe file but after, I don't know how to use it. Yoou said me to look at tools directory, could u precise?
Thanks

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: modification and compilation of run-ubasic.c
« Reply #3 on: 28 / October / 2008, 19:44:49 »
« Last Edit: 28 / October / 2008, 19:51:36 by PhyrePhoX »

 

Related Topics


SimplePortal © 2008-2014, SimplePortal