From: tiwag on 19 Feb 2007 07:18 i've installed the HPGCC 2.0 SP2 win version on my pc, in the C:\arm-hp folder. on the HP50g i've purged from port 2 the old Armtoolbox V3.10 (from the last HPGCC 2.0 installation) and installed the new ArmToolbox V3.12, which comes with the HPGCC 2.0 SP2 in the sources/ARMToolbox subfolder, using the << 2 'SETUP.BIN' RCL EVAL >> method. then i've built the hiworld.c file using >dmake hiworld.hp arm-elf-gcc -mtune=arm920t -mcpu=arm920t -mlittle-endian -fomit-frame-pointer -msoft-float -Wall -Os -pipe -mthumb-interwork -mthumb -IC:\arm-hp/include -I.. -c hiworld.c -o hiworld.o hiworld.c: In function 'main': hiworld.c:23: warning: control reaches end of non-void function arm-elf-ld -LC:\arm-hp/lib -TC:\arm-hp/lib/VCld.script C:\arm-hp/lib/crt0.o -nodefaultlibs -nostdlib hiworld.o -lggl -lhplib -lhpg -lhplib -lfsystem -lhplib -ldecnumber -lhplib -lgcc -o hiworld.exe elf2hp.exe -d5 -s10000 -V hiworld.exe hiworld.hp rm hiworld.o hiworld.exe btw. the warning "control reaches end of non-void function" did not appear with the previous version of HPGCC 2.0 after downloading the hiworld.hp file to my HP50g, the problem is the following. when i just RCL the content of hiworld.hp and run the ARMToolbox command PrRUN, my calc freezes. when i first run the ARMToolbox command S->EXE on the content of hiworld.hp and save this to a variable 'DOIT' and run then the variable 'DOIT', the arm-program is executed fine without freeze. i tried this with several arm-hp programs, built from the examples balls.c and block.c they only run without freezing my hp50g, when i first run S->EXE on them. am i doing something wrong ? any ideas and/or suggestions ? thx, --tiwag
From: Ingo Blank on 19 Feb 2007 07:57 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 tiwag wrote: > i've installed the HPGCC 2.0 SP2 win version on my pc, > in the C:\arm-hp folder. Since c:\arm-hp is the default location of the original 2.0 package, I assume you installed over the old version? You probably shouldn't do that, or at least clear the old folders. > on the HP50g i've purged from port 2 the old > Armtoolbox V3.10 (from the last HPGCC 2.0 installation) > and installed the new ArmToolbox V3.12, > which comes with the HPGCC 2.0 SP2 in the sources/ARMToolbox > subfolder, using the << 2 'SETUP.BIN' RCL EVAL >> method. That looks okay to me. Except that you should write 2.0 (real) for port 2. Have you confirmed, that ToolBox version 3.12 is installed in port 2? > then i've built the hiworld.c file using > >> dmake hiworld.hp > arm-elf-gcc -mtune=arm920t -mcpu=arm920t -mlittle-endian > -fomit-frame-pointer -msoft-float -Wall -Os -pipe > -mthumb-interwork -mthumb -IC:\arm-hp/include -I.. > -c hiworld.c -o hiworld.o > hiworld.c: In function 'main': > hiworld.c:23: warning: control reaches end of non-void function > arm-elf-ld -LC:\arm-hp/lib -TC:\arm-hp/lib/VCld.script > C:\arm-hp/lib/crt0.o -nodefaultlibs -nostdlib hiworld.o > -lggl -lhplib -lhpg -lhplib -lfsystem -lhplib -ldecnumber > -lhplib -lgcc -o hiworld.exe > elf2hp.exe -d5 -s10000 -V hiworld.exe hiworld.hp > rm hiworld.o hiworld.exe > > btw. the warning "control reaches end of non-void function" > did not appear with the previous version of HPGCC 2.0 Maybe the old Makefile was missing the -Wall (enable all warnings) compiler flag. gcc 4.1.1 is also more talkative wrt warnings. > after downloading the hiworld.hp file to my HP50g, > the problem is the following. > > when i just RCL the content of hiworld.hp and run > the ARMToolbox command PrRUN, my calc freezes. > > when i first run the ARMToolbox command S->EXE on the > content of hiworld.hp and save this to a variable 'DOIT' > and run then the variable 'DOIT', the arm-program is > executed fine without freeze. > > i tried this with several arm-hp programs, > built from the examples balls.c and block.c > they only run without freezing my hp50g, > when i first run S->EXE on them. > > am i doing something wrong ? > any ideas and/or suggestions ? I can't see, that you are doing something wrong here. Try a clean install with prior cleaning/uninstalling the old installation. Also re-install the ARMToolbox and don't forget to reboot the calc afterwards. If that doesn't help, come back and send us your binary programs for inspection. - -- Ingo Blank http://hpgcc.org http://blog.hpgcc.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF2Z7Dr9bi0BQTf30RAglmAKCUInlyXggcjCPcQ42lKbqlvIPJ3ACg3w7i Yl0lasLiaNZIuUK9z9bbUNs= =M/yD -----END PGP SIGNATURE-----
From: tiwag on 19 Feb 2007 08:21 On 19 Feb., 13:57, Ingo Blank <ingo.news01REMOVE_UPPERC...(a)hpgcc.org> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Since c:\arm-hp is the default location of the original 2.0 package, > I assume you installed over the old version? > You probably shouldn't do that, or at least clear the old folders. didn't install over old version, before installing the HPGCC 2.0 SP2 i renamed the existing c:/arm-hp folder to c:/arm-hp_old > Have you confirmed, that ToolBox version 3.12 is installed in port 2? yes, checked with filer, says "ARMToolBox 3.12 ..." > Also re-install the ARMToolbox and don't forget to reboot the calc > afterwards. always do a ON-C betweeen purging / installing / test > If that doesn't help, come back and send us your binary programs for > inspection. in the meanwhile i stepped back to ARMToolbox 3.10 and arm-elf- gcc-4.0.2 for a test and am surprised, that it behaves exactly the same like i've described above for the new arm-elf-gcc-4.1.1 with ArmToolBox 3.12 this worked definitely in the past. but now running an arm-program with PrRUN freezes my calc, no difference if using ARMToolBox 3.10 or 3.12 (with gcc 4.0.2 or 4.1.1) can the installation of one of the following libraries affect the proper operation of the ARMToolBox PrRun command ? L1789 SDiag 2.11 L1790 Emacs 2.11a L1625 Nosy 4.1 L258 extable L360 OT49+ L1200 Keyman+ 5.2004 thx --tiwag
From: Ingo Blank on 19 Feb 2007 11:15 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 tiwag wrote: <..> > > can the installation of one of the following libraries > affect the proper operation of the ARMToolBox PrRun command ? > > L1789 SDiag 2.11 > L1790 Emacs 2.11a > L1625 Nosy 4.1 > L258 extable > L360 OT49+ > L1200 Keyman+ 5.2004 > I don't think so. With the exception of Keyman+, I have all those libs installed too. Maybe the ARMToolbox became mis-alligned in flash memory. You could try to force a re-arrangement of the libs in flash. De-install ArmToolbox, then install something which fits in the "hole". Afterwards re-install ARMToolbox, so that it gets a new position in flash. Maybe that helps. Otherwise you should wait and listen what Claudio has to tell, since he's the master of the ARMToolbox :-) - -- Ingo Blank http://hpgcc.org http://blog.hpgcc.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF2c0Wr9bi0BQTf30RAsl1AKDzbXj7QwHmok0dXmfh1265MFwAHgCgqbMe dD9yuKtHTrSlny/KG6aoemI= =504g -----END PGP SIGNATURE-----
From: Damir on 19 Feb 2007 14:37 On 19 Feb 2007 04:18:16 -0800, "tiwag" <tiwag.cb(a)gmail.com> wrote: >i've installed the HPGCC 2.0 SP2 win version on my pc, >in the C:\arm-hp folder. > >on the HP50g i've purged from port 2 the old >Armtoolbox V3.10 (from the last HPGCC 2.0 installation) >and installed the new ArmToolbox V3.12, >which comes with the HPGCC 2.0 SP2 in the sources/ARMToolbox >subfolder, using the << 2 'SETUP.BIN' RCL EVAL >> method. > >then i've built the hiworld.c file using > >>dmake hiworld.hp >arm-elf-gcc -mtune=arm920t -mcpu=arm920t -mlittle-endian >-fomit-frame-pointer -msoft-float -Wall -Os -pipe >-mthumb-interwork -mthumb -IC:\arm-hp/include -I.. >-c hiworld.c -o hiworld.o >hiworld.c: In function 'main': >hiworld.c:23: warning: control reaches end of non-void function >arm-elf-ld -LC:\arm-hp/lib -TC:\arm-hp/lib/VCld.script >C:\arm-hp/lib/crt0.o -nodefaultlibs -nostdlib hiworld.o >-lggl -lhplib -lhpg -lhplib -lfsystem -lhplib -ldecnumber >-lhplib -lgcc -o hiworld.exe >elf2hp.exe -d5 -s10000 -V hiworld.exe hiworld.hp >rm hiworld.o hiworld.exe > >btw. the warning "control reaches end of non-void function" >did not appear with the previous version of HPGCC 2.0 > >after downloading the hiworld.hp file to my HP50g, >the problem is the following. > >when i just RCL the content of hiworld.hp and run >the ARMToolbox command PrRUN, my calc freezes. > >when i first run the ARMToolbox command S->EXE on the >content of hiworld.hp and save this to a variable 'DOIT' >and run then the variable 'DOIT', the arm-program is >executed fine without freeze. > >i tried this with several arm-hp programs, >built from the examples balls.c and block.c >they only run without freezing my hp50g, >when i first run S->EXE on them. > >am i doing something wrong ? >any ideas and/or suggestions ? > >thx, >--tiwag I have just downloaded HPGCC 2.0 SP2. Deleted old version and installed new one. Compiled all examples and games. Everything works fine. Damir
|
Next
|
Last
Pages: 1 2 3 Prev: Need help with HPUSEREdit Next: impossible to connect windows xp to hp49g+ |