[WP-34S] Emulator/debug - single/double copy/paste
|
06-14-2014, 05:49 AM
Post: #21
|
|||
|
|||
RE: [WP-34S] Emulator/debug - single/double copy/paste
(06-12-2014 07:58 AM)Martin Hepperle Wrote: Just a small README file could save the world... Strangely enough, it has been there for a while now and simply searching for all the files named "README something" would have helped you find the answer and navigate through "the mess". Asking questions and for help before criticizing is also an efficient practice. |
|||
06-14-2014, 08:29 AM
Post: #22
|
|||
|
|||
RE: [WP-34S] Emulator/debug - single/double copy/paste
(06-13-2014 10:51 PM)pito Wrote:Can you post the contents of your windows32_realbuild directory? Any error messages which were only visible on the screen?(06-13-2014 08:48 PM)Marcus von Cube Wrote: [This looks like an Eclipse artifact from an automatic scan of all C code, including the MFC based emulator code. You can safely ignore it.Now, with makeflash.cmd (with the path set to my yagarto) I get - see flash-build.log below. Marcus von Cube Wehrheim, Germany http://www.mvcsys.de http://wp34s.sf.net http://mvcsys.de/doc/basic-compare.html |
|||
06-14-2014, 08:59 AM
(This post was last modified: 06-14-2014 09:33 AM by pito.)
Post: #23
|
|||
|
|||
RE: [WP-34S] Emulator/debug - single/double copy/paste
(06-14-2014 08:29 AM)Marcus von Cube Wrote: Can you post the contents of your windows32_realbuild directory? Any error messages which were only visible on the screen?No visible err messages on the screen. Code: D:\MyCode\Calculators\WP34s>dir When I run makeflash again, the lcdgen.exe (95k) appears too (the same err message in the log). Make: Code: D:\MyCode\Calculators\WP34s>make --version |
|||
06-14-2014, 11:42 AM
Post: #24
|
|||
|
|||
RE: [WP-34S] Emulator/debug - single/double copy/paste
I have two remarks:
Don't use any GCC version > 4.6. We had code generation errors with GCC 4.7. So please try to get an older Yagarto build. Your make version doesn't seem to like the -C consts option. This option makes make switch to the consts subdirectory of windows32_realbuild. Mine is a slightly newer build than yours: Code:
Marcus von Cube Wehrheim, Germany http://www.mvcsys.de http://wp34s.sf.net http://mvcsys.de/doc/basic-compare.html |
|||
06-14-2014, 01:54 PM
(This post was last modified: 06-14-2014 02:24 PM by pito.)
Post: #25
|
|||
|
|||
RE: [WP-34S] Emulator/debug - single/double copy/paste
(06-14-2014 11:42 AM)Marcus von Cube Wrote: I have two remarks:Yea, the make was old.. I've replaced the yagarto with 4.5.2 http://sourceforge.net/projects/yagarto/.../20110318/ Now it moves forward a bit, getting errors with libraries build (probably) see below.. And the real folder: Code: Directory of D:\MyCode\Calculators\WP34s\trunk\realbuild |
|||
06-14-2014, 02:24 PM
Post: #26
|
|||
|
|||
RE: [WP-34S] Emulator/debug - single/double copy/paste
(06-14-2014 01:54 PM)pito Wrote: I've replaced the yagarto with 4.5.2 http://sourceforge.net/projects/yagarto/.../20110318/ 4.6.0 works for me and is used to create the official builds. It creates more compact code than 4.5.2. (06-14-2014 01:54 PM)pito Wrote: Now it moves forward a bit, getting errors with libraries build (probably) see below.. You should have checked out the complete tree. Unfortunately the library directory is in the project root, not in trunk. This is a mistake we made long ago... Marcus von Cube Wehrheim, Germany http://www.mvcsys.de http://wp34s.sf.net http://mvcsys.de/doc/basic-compare.html |
|||
06-14-2014, 03:15 PM
(This post was last modified: 06-14-2014 03:33 PM by pito.)
Post: #27
|
|||
|
|||
RE: [WP-34S] Emulator/debug - single/double copy/paste
(06-14-2014 02:24 PM)Marcus von Cube Wrote: You should have checked out the complete tree. I did try to checkout the code above the trunk few times in past, but my svn was against. Now it checkouts the complete tree, interesting (I've upgraded my svn, maybe that has helped). I've changed the yagarto to 460 (http://sourceforge.net/projects/yagarto/.../20110429/). Except the stuff with older make, I had to change the path to my yagarto in the makeflash.cmd, and to add the path to /tools into wp34s_asm.pl (at line 185, as recommended in a previous post). Also I work with complete tree now, so it finds the libs too.. Now I do not see any obvious error and the real build looks like (based on r3667): Code: Directory of D:\MyCode\Calculators\WP34s_2\code\trunk\realbuild The .bin sizes are not the same as the original ones, but maybe it will work. The only warning I've found is something like: Code: // WARNING: Unrecognized O/S (msys). Some features may not work as expected. |
|||
06-14-2014, 04:32 PM
Post: #28
|
|||
|
|||
RE: [WP-34S] Emulator/debug - single/double copy/paste
(06-14-2014 03:15 PM)pito Wrote: The .bin sizes are not the same as the original ones, but maybe it will work. You may have a mixture of object files from the different compilers. You can compare the map files with those on the repository. Just clean up everything and start over. (06-14-2014 03:15 PM)pito Wrote: The only warning I've found is something like: I can't comment on this. It is obviously related to your MinGW installation. Just flash and see what happens. Marcus von Cube Wehrheim, Germany http://www.mvcsys.de http://wp34s.sf.net http://mvcsys.de/doc/basic-compare.html |
|||
06-14-2014, 05:04 PM
(This post was last modified: 06-14-2014 05:36 PM by pito.)
Post: #29
|
|||
|
|||
RE: [WP-34S] Emulator/debug - single/double copy/paste
(06-14-2014 04:32 PM)Marcus von Cube Wrote: You may have a mixture of object files from the different compilers. You can compare the map files with those on the repository. Just clean up everything and start over.There are 2 revs of the 460 yagarto available. That may contribute a bit of noise as well.. PS: I cleaned up the library, realbuild, windows32_realbuild and getting bins which match (the size): Code: Directory of D:\MyCode\Calculators\WP34s_2\code\trunk\realbuild |
|||
06-14-2014, 10:45 PM
Post: #30
|
|||
|
|||
RE: [WP-34S] Emulator/debug - single/double copy/paste | |||
06-15-2014, 08:58 AM
(This post was last modified: 06-15-2014 08:59 AM by pito.)
Post: #31
|
|||
|
|||
RE: [WP-34S] Emulator/debug - single/double copy/paste
(06-14-2014 10:45 PM)Paul Dale Wrote:I do not think it is a mistake, considering the library is about the "universal hprpn" math programs, which may be used for any project. That means it is easier to maintain them on a single place, as it is today. I would rename the *.wp34s to something like *.hprpn and that would justify its position outside any "trunk".(06-14-2014 02:24 PM)Marcus von Cube Wrote: This is a mistake we made long ago... |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)