From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,e0958937badc67da X-Google-Attributes: gid111c93,public From: John Doe Subject: Re: DU Binaries (was Re: f77 compiler for linux/alpha?) Date: 1997/08/03 Message-ID: <33E56FF5.716B5891@savetrees.com>#1/1 X-Deja-AN: 263896441 References: <5r5u3c$knf$1@geraldo.cc.utexas.edu> <5rejv4$alq$2@news.utdallas.edu> Organization: University of California, Irvine Newsgroups: comp.os.linux.alpha Chris Mikkelson wrote: > > On Thu, 31 Jul 1997, Ken Haste Andersen wrote: > >g77 _is_ ported to alpha/linux, and it works quite well. It does not, > >however, have the speed of the DEC f77 compiler for floating point > >calculations. > > Would Linux/Alpha run DU binaries? Then, if you already have DEC f77 > (which I've heard is quite good), you could compile your program on > a DU/DEC f77 box and run them on the Linux box. Since they're the > same processor, the speed advantage of DEC f77 should still hold on > the Linux box, right? > > -Chris Caution! (1) g77 only runs under a.out Linux, I believe, although an ELF release is happening soon, we hope. Anyway, I've tried building g77 0.5.20 on a Linux/ELF Alpha, and while it does compile with some kludges that can be found on axp-list@redhat.com, it generates erroneous object code, e.g. which crashes immediately on start up if you use a WRITE(6,fmt='..') statement in your Fortran. (2) You can only run DU binaries under Linux/Alpha if you have a DU license for the box, in which case, you'd presumably run DU itself (faster and a whole lot less buggy). Reason, I've heard, is that by using DEC's f77 compiler, you've linked in propietary DEC library code into your executable. 'Course you could write all your own library functions and get out of this. . . Christopher Grayce UCI Dept of Chemistry (return address spoiled to prevent SPAM, send real mail to cgrayce AT uci DOT edu)