Post Reply 
my problem
05-09-2016, 08:03 PM
Post: #1
my problem
Hi to all

my name is Matteo and i'm writing from Italy. Maybe someone can help me

I used about a long time and "old" HP48GX and i always make USRRPL language to programming it.

Recently i discover HP48XGCC, a GCC cross linker for Saturn processor and i think "wow i can program my hp with it as i do with my 50G (and TI89 LOL)"

I'm very happy but... it don't work...

I download the right .zip file (compiled with .bin) and i tried to use it on LINUX, MAC, Win (with cygwin) but nothing, i always have some error.

Someone of you have never used it? or have some problem?

Please help me

thanks

Matteo
Find all posts by this user
Quote this message in a reply
05-10-2016, 12:25 PM
Post: #2
RE: my problem
Could you please be a bit more specific:

- Which file ? from where ? what does it contain ?
- Which version have you tried ? on which operating system.
- Which error ?
Find all posts by this user
Quote this message in a reply
05-10-2016, 03:18 PM
Post: #3
RE: my problem
He may be talking about this:

http://hp48xgcc.sourceforge.net/

or some other, similar software. I couldn't say for sure.

-road
Find all posts by this user
Quote this message in a reply
05-10-2016, 06:12 PM
Post: #4
RE: my problem
(05-10-2016 03:18 PM)roadrunner Wrote:  He may be talking about this:

http://hp48xgcc.sourceforge.net/

or some other, similar software. I couldn't say for sure.

-road

Yes I talking about it... Nobody never used it in the past? I know it's a long time ago...
Find all posts by this user
Quote this message in a reply
05-10-2016, 06:51 PM
Post: #5
RE: my problem
Instead of keeping us guessing, tell us what did you try, what did not work and which error messages did you get...
Find all posts by this user
Quote this message in a reply
05-10-2016, 07:53 PM
Post: #6
RE: my problem
(05-10-2016 06:51 PM)Alejandro Paz(Germany) Wrote:  Instead of keeping us guessing, tell us what did you try, what did not work and which error messages did you get...

ok i make a screenshot of the error

What is ENOENT error? and why i can't execute CPP? and what is CPP?

I tried to find something in internet but i can't find nothing... I think that i put my .c program into a wrong directory


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
05-10-2016, 08:35 PM (This post was last modified: 05-10-2016 08:47 PM by jch.)
Post: #7
RE: my problem
(05-10-2016 07:53 PM)#ich Wrote:  ok i make a screenshot of the error

What is ENOENT error? and why i can't execute CPP? and what is CPP?

I tried to find something in internet but i can't find nothing... I think that i put my .c program into a wrong directory
Hello Matteo,

CPP is an acronym for the C PreProcessor, a component of gcc.
Did you read the manual page ?
From your screenshot, it seems that you're lacking some linux environment.
"Make sure you have GNU Make. Unfortunatelly, if you're a Windows95 user this can take some work to accomplish (start at http://www.cygnus.com/gnu-win32)."
Well, the URL is no longer valid, but you may give a try to Cygwin (with gcc & make packages) ?
Find all posts by this user
Quote this message in a reply
05-11-2016, 03:52 AM (This post was last modified: 05-11-2016 03:55 AM by Alejandro Paz(Germany).)
Post: #8
RE: my problem
I find that the way you invoked the compiler a bit strange:

In the manual they recommend you have a /usr directory at the top of the C drive. You can also try MinGW instead of cygwin.
The -O option (Optimization level) needs a switch like 's' for size, or '0' for none, or '2' for optimize more (-O2 is what the manual recommends)

try it like this (assuming that xgcc is in the PATH and Residuo_secco.c is in the current directory):

xgcc -O2 Residuo_secco.c -o Residuo_secco

btw: ENOENT means file not found.
Find all posts by this user
Quote this message in a reply
05-12-2016, 07:50 PM
Post: #9
RE: my problem
(05-11-2016 03:52 AM)Alejandro Paz(Germany) Wrote:  I find that the way you invoked the compiler a bit strange:

In the manual they recommend you have a /usr directory at the top of the C drive. You can also try MinGW instead of cygwin.
The -O option (Optimization level) needs a switch like 's' for size, or '0' for none, or '2' for optimize more (-O2 is what the manual recommends)

try it like this (assuming that xgcc is in the PATH and Residuo_secco.c is in the current directory):

xgcc -O2 Residuo_secco.c -o Residuo_secco

btw: ENOENT means file not found.


Hi

thank you for your help.

You give me some ideas and i started to do some test but nothing working

BUT

I found it:

http://www.hpcalc.org/hp48/pc/programming/htrxgcc.zip

this document explain how use XGCC 48 into WIN3.11 (LOL). Here i found the solution and now it's all OK!!!

PS: the original manual DO NOT EXPLAIN the correct procedure because don't talk about -lcore command. I think in the past other people had my problem...
Find all posts by this user
Quote this message in a reply
05-13-2016, 07:13 AM (This post was last modified: 05-13-2016 07:16 AM by Hans Brueggemann.)
Post: #10
RE: my problem
great! anything to watch out, or did it just work out as presented in the document?
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)