Frank Swarbrick wrote:
Sounds like Linux needs an intermediate "byte-code" format, so you could
use gcc to compile to this byte-code and then have gcc on the
destination machine compile the byte-code in to it's natural machine
code.

Heh, just a random thought...

You can get gcc to produce preprocessed source which you can then
compile without all the headers and, (I preume) very quickly.

You still need the libraries to link against and to run against though.



---
Frank Swarbrick
Senior Developer/Analyst - Mainframe Applications Development
FirstBank Data Corporation - (303) 235-1403


[EMAIL PROTECTED] 9/27/2005 1:51:48 PM >>>

I've got a customer here that's all excited about ELF binaries. They

have a

product they'd like to see run on z/Series linux but there is no
declaration that z/Series is a supported platform. They do state that

their

binaries are 100% ELF compatible. What exactly does that mean for an

intel

based product when someone wants to have you try it on z/Series cuz

it's

ELF binary compatible. Shouldn't work regardless, should it?

Not a lot. It's just a way of formatting storing the machine language
and the metadata to enable linking to the required shared libraries.

You still need the right CPU for the imbeeded machine Language.



 Hi James,

  ELF is an object file format...

  The ELF on x86 Linux follows the same ELF as z/Series does, but the
 bytes in there don't.  Your product will need to be rebuilt for
z/Series
 Linux.  Mainframe linux won't run PC linux programs (at least
directly.)

Or quickly.

Apple has an interesting idea, if I have it right. "Fat" binaries are
capable of incorporating more than one set of machine-languge code.
Think one set of binaries for 68000+PPC (which I expect is where the
notion originated) or PPC+IA32.



--

Cheers
John

-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/

do not reply off-list

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to