[Hp48xgcc] [hp48xgcc - Open Discussion] HP48xgcc wire
Status: Beta
Brought to you by:
alex_ramos
From: SourceForge.net <no...@so...> - 2003-03-02 19:37:53
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=1907196 By: juanca_mm Hello , a few time ago I discovered the HP48xgcc, I have the hp48xgcc-1.0.2-win32-bin version but I have had a lot of problems: *First when I copy from C:\usr\lib\gcc-lib\saturn-local-hp48\2.7.2\hp48 the libc.slo to C:\usr\lib\gcc-lib\saturn-local-hp48\2.7.2\ I can execute the HELLO sample but the compiler doesn´t recognize the PUSH comand: I have used the line: xgcc uno.c -o uno -Wall -O2 -lc -lcore -lgcc -lgraph -lm -lmalloc And the result is: uno.c: In function `main': uno.c:22: warning: implicit declaration of function `push' ERROR: unable to resolve symbol '_push', referenced by object-file 'C:\WINDOWS\TEMP/ccaaaaaa1.o' linkage failed due to unresolved references When I let the original libc.slo in C:\usr\lib\gcc-lib\saturn-local-hp48\2.7.2 the compiler recognizes PUSH but gives a warnig: uno.c: In function `main': uno.c:22: warning: implicit declaration of function `push' However PUSH doesn´t work and the HELLO sample doesn´t do anything (I try to push in the stack the string "HELLO") and I tried to run quadtest but I haven´t being enable to do It. *Second, How I can run an external program, for instance a SysRPL program, I tried to do It with a HP object(like in HELLO.C) but I can´t make It works. *Third, is there some way to send or receive data through wire port, IR port?, something like OUTPORT(), OUTPORTB(), INPORT() or INPORTB(). *Fourth where I can get a manual for HP48xgcc, I have been in: Project: HP48 GNU C Cross-Compiler: Forums: but I have not seen a manual or a tutorial. *Fifth, for compile input.s (it has only 2 routines, is not a program) I use the line: xgcc -o input -lc -lcore -lgcc -lgraph -lm -lmalloc -Wall -O2 -I input.s And the out is: ERROR: unable to resolve symbol '_main', referenced by object-file 'crt0.o' linkage failed due to unresolved references *Sixth, I don´t understand the assembler language used in HP48xgcc, is Saturn assembler? or x86 assembler or a mix, where I can get information about it? *Seventh is there other subrotines to control the keyboard apart from INPUT.S Thanks in advance for some help and excuse me for my english It isn´t my native language. Juan Carlos Montaña Malagón. ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/monitor.php?forum_id=22089 |