From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199706051921.PAA04166@churchy.gnu.ai.mit.edu> Date: Thu, 5 Jun 1997 15:21:40 -0400 (EDT) From: Craig Burley Subject: Re: Problem porting a f77-exec. to alpha/linux >>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