Re: NEC-LIST:NEC, g77, and RH Linux

From: Ray Anderson <Raymond.Anderson_at_email.domain.hidden>
Date: Thu, 18 Apr 2002 08:56:27 -0700 (PDT)

All-

I've never compiled NEC4 with g77, but have just gone through a round
of making a bunch of custom modifications to NEC2 using g77 and
found one thing: make sure you use the '-fno-automatic' command
line switch at compile time unless you want great gobs of runtime
errors.

The NEC4 code may have been written a bit more explicitly than
NEC2, but it seems that NEC2 depended on the characteristics of the
compiler in use at the time of development (VAX ?) to automatically
SAVE values across subroutine calls. This is not the natural behavior
of g77 and the static behavior must be explicitly turned on with the
command line switch I referenced above.

-Ray Anderson
Staff Signal Integrity Engineer
Sun Microsystems Inc.

>Hello John and all:
>
>I am also interested in compiling NEC 4.1 with the g77 compiler, but the target
>system will be a Macintosh running Mac OS X. I also have the Xfree86 and X11
>environment running.
>
>Since I have NO fortran experience, I have a lot of studying to do (have
>compiled C, but mostly thrash about in Perl, Mathematica, etc.).
>
>I will be interested in anything that may support either effort.
>
>Regards,
>
>Darryl Holder (U.S. Army Aviation and Missile Command)
>

-- 
The NEC-List mailing list <nec-list_at_gweep.ca>
http://www.gweep.ca/mailman/listinfo.cgi/nec-list
Received on Thu Apr 18 2002 - 15:57:57 EDT

This archive was generated by hypermail 2.2.0 : Sat Oct 02 2010 - 00:10:42 EDT