* executables
@ 2002-02-02 11:37 Bernhard Mueck
2002-02-04 15:50 ` executables Bob Harris
0 siblings, 1 reply; 2+ messages in thread
From: Bernhard Mueck @ 2002-02-02 11:37 UTC (permalink / raw)
Hi all,
i have two dec alpha boxes,
one is running on "OSF1 V4.0 1229 alpha" and the other on
"OSF1 V5.1 732 alpha" .
On the V5.1 machine i have a compiler
f90 -version
Compaq Fortran V5.4-1283
Compaq Fortran Compiler V5.4-1283-46ABA
Is it possible to produce executables for the older V4.0 machines with
this compiler.
I tried the -non_shared option, but this did not work.
The error message was "Bad system call" .
Thanks in advance
Bernhard
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: executables
2002-02-02 11:37 executables Bernhard Mueck
@ 2002-02-04 15:50 ` Bob Harris
0 siblings, 0 replies; 2+ messages in thread
From: Bob Harris @ 2002-02-04 15:50 UTC (permalink / raw)
[[ This message was both posted and mailed: see
the "To," "Cc," and "Newsgroups" headers for details. ]]
In article <3C5BCF7F.30C717A9@web.de>, Bernhard Mueck
<Bernhard.Mueck@web.de> wrote:
X Hi all,
X i have two dec alpha boxes,
X one is running on "OSF1 V4.0 1229 alpha" and the other on
X "OSF1 V5.1 732 alpha" .
X
X On the V5.1 machine i have a compiler
X f90 -version
X Compaq Fortran V5.4-1283
X Compaq Fortran Compiler V5.4-1283-46ABA
X
X Is it possible to produce executables for the older V4.0 machines with
X this compiler.
X I tried the -non_shared option, but this did not work.
X The error message was "Bad system call" .
Highly unlikely, as v5.* added new system calls and the v5.1 compiled
code is mostly calling them, so when you take the code back to v4.*,
where the new calls do not exist, the program fails.
Even if your program does not use any of the new calls, the libraries
you are including in your code vai -non_shared may be calling them.
And you may not even know that you are calling new calls, since some of
them (like stat()) are really standard POSIX functions that have been
given a face lift and vai some complex renaming tricks it looks like
you are calling the same old function, but in reality, you are calling
a new API in the kernel. The renaming tricks allows existing programs
to continue to call the old syscall API and still work, while newly
compiled programs learn to call the new (and improved) API. We
maintain forward compatibility, while improving our APIs for newly
compile code.
But that will not allow you to compile code on v5.1 and take it back to
v4.*
Bob Harris
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-02-04 15:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-02 11:37 executables Bernhard Mueck
2002-02-04 15:50 ` executables Bob Harris
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox