HP3000-L Archives

October 1995, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Klein <[log in to unmask]>
Reply To:
Mark Klein <[log in to unmask]>
Date:
Fri, 20 Oct 1995 10:46:32 PST
Content-Type:
text/plain
Parts/Attachments:
text/plain (26 lines)
Kuo-Chien Kai asks:
 
>I was told that an POSIX executable made by c89 on HP-UX can also be
>executed on MPE. However I failed to make this work. The systems
>I am using are HP-UX 9.01 and MPE/iX 5.0. The followings shows
>the steps I've done.
 
Actually, the loadable object is not what is portable. The linkable
object (*.o, *.a) is. You need to link on the target machine, but you
can compile on the host 9000. Simply move the .o file and link it on the
3000 and it should work.
 
Executables on the 3000 are a bit different than on the 9000. In a
nut-shell, the 3000 executable is an executable library
(EXECLIBMAGIC) that contains an LST that points to the SOM. It is
also late binding. Executables on the 9000 contain only a SOM and
for all practical purposes are statically bound. Two different
animals.
 
However, the relocatable objects for the most part are the same,
and that it what you'd want to move between the machines.
 
Hope this helps.
 
M.

ATOM RSS1 RSS2