From: Craig Burley <burley@gnu.ai.mit.edu>
Subject: Re: Problem porting a f77-exec. to alpha/linux
Date: Thu, 5 Jun 1997 15:21:40 -0400 (EDT) [thread overview]
Message-ID: <199706051921.PAA04166@churchy.gnu.ai.mit.edu> (raw)
>>I have a f77 program which contains the following non-standard (but
>>usable on AIX, Solaris, Intel/linux, DU) lines of code:
>>
>> ...
>
>The 'system' routine on DUNIX expects to have /sbin/sh available.
>make a link thus: ln -s /bin/bsh /sbin/sh and it should work.
Another thing to consider is to check the documentation on
the `system' library function provided by your Fortran environment
(presumably part of libU77). I suspect it returns an INTEGER
status argument that _might_ have, if tested by your code, alerted
you to the problem more quickly. E.g. this might be better than
your "call system(...)" code:
integer status
status = system(...)
if (status.ne.0) print *, 'system call #1 status is ', status
...
tq vm, (burley)
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next reply other threads:[~1997-06-05 19:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-06-05 19:21 Craig Burley [this message]
-- strict thread matches above, loose matches on Subject: below --
1997-06-05 20:39 Problem porting a f77-exec. to alpha/linux Craig Burley
1997-06-05 16:12 D. Unger
1997-06-05 17:34 ` T. S. Horsnell
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox