Help building WP34s calc.bin



#2

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!


#3

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.


#4

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.

#5

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


#6

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

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


#7

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


#8

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?


#9

not recognized.

#10

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


#11

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

#12

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

#13

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.


Possibly Related Threads...
Thread Author Replies Views Last Post
  wp34s calc to calc communication Andrew Nikitin 1 210 07-29-2013, 01:57 AM
Last Post: Marcus von Cube, Germany
  Building WP 34s emulator on Linux Eric Smith 3 227 07-25-2013, 03:03 PM
Last Post: Marcus von Cube, Germany
  Questions about building a RAM card for hp 48 Waon Shinyoe (China) 0 180 07-09-2013, 09:53 PM
Last Post: Waon Shinyoe (China)
  [WP34S] WP34S firmware on the AT91SAM7L-STK dev kit? jerome ibanes 1 195 10-04-2012, 04:59 PM
Last Post: Paul Dale
  Building WP-34S calc.bin from source - long post (sorry!) Nigel J Dowrick 5 328 07-14-2012, 07:41 AM
Last Post: Paul Dale
  [WP-34s] can't flash with calc_ir.bin Alexander Oestert 11 451 05-03-2012, 11:23 AM
Last Post: Katie Wasserman
  [WP34S] Creating My Own calc_full.bin Les Wright 14 474 04-05-2012, 03:39 PM
Last Post: Marcus von Cube, Germany
  Problem building calc.bin? Ed Wright 9 368 03-29-2012, 02:02 PM
Last Post: Marcus von Cube, Germany
  Problems building WP34s Harald 7 309 03-12-2012, 10:56 AM
Last Post: Marcus von Cube, Germany
  [wp34s] Incomplete Gamma on the wp34s Les Wright 18 719 12-06-2011, 11:07 AM
Last Post: Namir

Forum Jump: