Skip to contentSkip to conversation

Cross compile setup

hppa-linux Jason Eckhardt 3 participants 3 messages Feb 7, 1999 – Feb 8, 1999

lore
Share & tools
lore
#0 lore raw
Quoted 7 lines

From [email protected] Thu Feb 4 03:45:11 1999
From: "Strelow, Ulrich" <[email protected]>
To: [email protected]
Date: Thu, 4 Feb 1999 11:59:00 +0100
Subject: [hppa-linux] Cross compile setup

...

Quoted 10 lines

Then the machine stops with the LEDs 123568 on which means "HPMC
due
to Bus Error".

Unfortunately no one on the mklinux mailing list had any help for
that
problem (probably because the main developers were no longer
working
on/with mk-linux).

Quoted 5 lines

So my question here is the following:

Is the hppa-linux cross-compile setup for binutils and egcs possible from linux-x86 ?

I have the same problem. Mklinux won't boot on my C160 (even in duplex mode through the serial port). So I'll have to
be working from either an HPUX or Linux-x86 build environment. What build environment are most of you planning on using?

Also, a question to others:
I have started to tinker with writing an IPL for the native port (i.e. bootstrap code). I've been compiling/assembling within HPUX, but I can't seem to ascertain how to get "ld" to generate a "straight" binary file rather than a SOM object. The bootstrap code obviously has to be a plain binary to work. Note that the version of gcc I picked up from www.software.hp.com utilizes the HP linker, not GNU ld.

I tried to use "objcopy -O binary some_file binary_file" with no luck. The resulting file was stripped of the SOM garbage, but unfortunately most of my code and data was also stripped away and the file was mostly zeroes!! Any ideas on how to generate plain binary? Is the above behavior a objcopy bug or was this pilot error?

Regards, Jason.

----------------------------------------------------------------------
To unsubscribe: send e-mail to [email protected] with `unsubscribe' as the subject.

#1 lore raw

[hppa-linux] Various docs available at HP pubkic doc site

OK, In case others on this list don't know about it, there is a publically accessable HP doc site at http://www.docs.hp.com

Amoung other things is a white paper on booting at:

http://www.docs.hp.com/hpux/content/boot.html

Looked through the above and while it may not answer all questions there might be a gem of information or two in there.

Steve DuChene

----------------------------------------------------------------------
To unsubscribe: send e-mail to [email protected] with `unsubscribe' as the subject.

#2 lore raw

Re: [hppa-linux] Various docs available at HP pubkic doc site

Make sure you also use http://www.software.hp.com/STK, if you weren't already aware of that site.

Rich

Quoted 6 lines

OK, In case others on this list don't know about it, there is a publically accessable HP doc site at http://www.docs.hp.com

Amoung other things is a white paper on booting at:

http://www.docs.hp.com/hpux/content/boot.html

----------------------------------------------------------------------
To unsubscribe: send e-mail to [email protected] with `unsubscribe' as the subject.