Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: T. S. Horsnell <tsh@mrc-lmb.cam.ac.uk>
Subject: Re: Problem porting a f77-exec. to alpha/linux
Date: Thu, 5 Jun 1997 18:34:25 +0100 (BST)	[thread overview]
Message-ID: <9706051734.AA05044@alf2.mrc-lmb.cam.ac.uk> (raw)
In-Reply-To: <199706051612.SAA07689@luchs.ttm.maschinenbau.th-darmstadt.de>

[Charset ISO-8859-1 unsupported, filtering to ASCII...]
>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.

Terry.

>      call system('hostname > temp123456')
>      call system('whoami >> temp123456')
>      call system('pwd >> temp123456')
>      call system('date >> temp123456')
>      open(unit=11,file='temp123456',status='old')
>      rewind(unit=11)
>      read(11,'(a80)') host
>	...
>
>After compiling/linking statically (so that all run-time libs are
>bound into the executable) on a Digital Unix Alpha, this code
>runs fine on the DU Alpha, but when PORTING THE EXECUTABLE to an 
>Alpha running Linux, I get the error message
>	forrtl: severe (29): file not found, unit 11, file temp123456
>	Command exited with non-zero status 29
>and the program stops. Apparently the file temp123456 hasn't been created
>and the system call didn't work,
>
>	but why?
>

--
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

  reply	other threads:[~1997-06-05 17:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-06-05 16:12 Problem porting a f77-exec. to alpha/linux D. Unger
1997-06-05 17:34 ` T. S. Horsnell [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-06-05 19:21 Craig Burley
1997-06-05 20:39 Craig Burley
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