[hpsdr] WSPR Fortran porting

Chris Albertson albertson.chris at gmail.com
Thu Dec 22 15:57:27 PST 2011


On Thu, Dec 22, 2011 at 2:58 PM, David McQuate <mcquate at sonic.net> wrote:
> ***** High Performance Software Defined Radio Discussion List *****
>
> Last week's Teamspeak contained a mention of WSPR code in FORTRAN.
> Would it be useful to convert this to C? (or some other language?)
> How many lines of code?
> Anybody already working on a translation?
>
> I'd at least like to take a look at it to estimate the magnitude of the
> task,.
> if not to just go ahead and translate it!

Why do you care if it is in FOTRAN or C.  If you use the gnu compiler
the backend is common and in the end you get the same binary.  The gnu
FORTRAN is free and runs on any platform.

But if you do care try using "f2c" it will automatically translate
FORTRAN to C and it is very fast.  It would take seconds to translate
a few thousand lines.

http://en.wikipedia.org/wiki/F2c
http://netlib.sandia.gov/f2c/index.html
http://www.netlib.org/f2c/

Chris Albertson
Redondo Beach, California

 1324598247.0


More information about the Hpsdr mailing list