The Museum of HP Calculators

HP Forum Archive 20

[ Return to Index | Top of Index ]

Help building WP34s calc.bin
Message #1 Posted by Ed Wright on 18 Feb 2012, 10:58 a.m.

I'm trying to build calc.bin for WP34s for the first time. I have followed the instructions shown at http://sourceforge.net/apps/mediawiki/wp34s/index.php?title=How_to_build_the_firmware

I can successfully build the emulator, but not calc.bin. I enter win-build-arm.cmd, and I get the following warning: /pathname/ld.exe: warning: cannot find entry symbol entry; not setting start address followed by chcp 850 active code page: 850 The only file created in the realbuild directory is mapfile.txt. I'm a hardware guy, not a programmer and I can't figure out what I have wrong. Can anyone point me in the right direction? Thanks!

      
Re: Help building WP34s calc.bin
Message #2 Posted by Marcus von Cube, Germany on 18 Feb 2012, 3:33 p.m.,
in response to message #1 by Ed Wright

Ed, the cmd file you are using isn't the same I'm using. In the root directory you will find flash.cmd instead.

This might still not explain your trouble. Is Yagarto.de installed? If you run the flash.cmd script a log file will be generated which I may be able to analyze.

            
Re: Help building WP34s calc.bin
Message #3 Posted by Dominic Richens on 18 Feb 2012, 3:58 p.m.,
in response to message #2 by Marcus von Cube, Germany

Quote:
Ed, the cmd file you are using isn't the same I'm using. In the root directory you will find flash.cmd instead.

Thanks Marcus - I'll update the wiki accordingly.

            
Re: Help building WP34s calc.bin
Message #4 Posted by Ed Wright on 18 Feb 2012, 7:07 p.m.,
in response to message #2 by Marcus von Cube, Germany

Yegarto.de is installed. My environment is Windows7. Following is the content of flash-build.log.

arm-none-eabi-gcc (GCC) 4.6.2 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

cc -Wall -Werror -O1 -g -DHOSTBUILD -DREALBUILD -o windows32_realbuild/genfont.exe genfont.c process_begin: CreateProcess(NULL, cc -Wall -Werror -O1 -g -DHOSTBUILD -DREALBUILD -o windows32_realbuild/genfont.exe genfont.c, ...) failed. make (e=2): The system cannot find the file specified.

make: *** [windows32_realbuild/genfont.exe] Error 2

                  
Re: Help building WP34s calc.bin
Message #5 Posted by pascal_meheut on 19 Feb 2012, 2:13 a.m.,
in response to message #4 by Ed Wright

You also ned a normal, windows compiler. Did you install mingw & perl? Or cygwin?

Do you have a "cc" compiler in your path?

                        
Re: Help building WP34s calc.bin
Message #6 Posted by Ed Wright on 19 Feb 2012, 7:19 a.m.,
in response to message #5 by pascal_meheut

Yes to mingw and activePerl. I also have Visual Studio. Since the emulator builds and works I assumed these were working.

                              
Re: Help building WP34s calc.bin
Message #7 Posted by pascal_meheut on 19 Feb 2012, 8:38 a.m.,
in response to message #6 by Ed Wright

minwg is not used to build the emulator, at least not the current one.

What happens if you simply type "cc" in your command line?

                                    
Re: Help building WP34s calc.bin
Message #8 Posted by Ed Wright on 19 Feb 2012, 1:21 p.m.,
in response to message #7 by pascal_meheut

not recognized.

                                    
Re: Help building WP34s calc.bin
Message #9 Posted by Ed Wright on 19 Feb 2012, 2:13 p.m.,
in response to message #7 by pascal_meheut

I'm downloading Gnu tools now. I was following the wiki. I'll let you know how it goes. Thanks for all the help!

                                          
Re: Help building WP34s calc.bin
Message #10 Posted by Dominic Richens on 19 Feb 2012, 2:50 p.m.,
in response to message #9 by Ed Wright

Hi Ed,

If you get a sourceforge account, you can correct the wiki instructions yourself.

If not, please let me know what's wrong and I'll update them.

cheers!

dominic

      
Re: Help building WP34s calc.bin
Message #11 Posted by Dominic Richens on 18 Feb 2012, 3:45 p.m.,
in response to message #1 by Ed Wright

Quote:
I'm trying to build calc.bin for WP34s for the first time. I have followed the instructions shown at http://sourceforge.net/apps/mediawiki/wp34s/index.php?title=How_to_build_the_firmware

I can successfully build the emulator, but not calc.bin. I enter win-build-arm.cmd, and I get the following warning: /pathname/ld.exe: warning: cannot find entry symbol entry; not setting start address followed by chcp 850 active code page: 850 The only file created in the realbuild directory is mapfile.txt. I'm a hardware guy, not a programmer and I can't figure out what I have wrong. Can anyone point me in the right direction? Thanks!


that doesn't work for me either, however this does:

cd wp34s
makewin.cmd
cd trunk
make REALBUILD=1
            
Re: Help building WP34s calc.bin
Message #12 Posted by Marcus von Cube, Germany on 19 Feb 2012, 4:26 a.m.,
in response to message #11 by Dominic Richens

The makewin script contains the call to make so going back to trunk and running make again is not needed.

As Pascal has pointed out, Ed is obviously missing the Windows GCC.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall