lkml.org 
[lkml]   [1998]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Are applications for Linux platform specific?
> > I'm talking about apps in binary format, executables, made for
> > Linux. Will they run in any hard with Linux? I guess... not, but
> > may be someone can assure me that.
>
> No, they won't. When they're built, the compiler you use is specific to a
> particular OS/processor combination, and so are the binaries generated.

I thought that I read once that the ELF format (it was SOME format, may
not have been ELF) allowed the compiler to include object code for more
than one target processor type. So that you could produce an executable
(and this would almost have to be done with a compiler aware of multiple
target types) which was, say, about twice the size but ran transparently
on two different types of processors. There would be a code segment in
the executable that was specific to each platform. Anybody else hear of
this?

Noah

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:42    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site