On 04/02/2014 18:07, Bill Somerville wrote:
On 04/02/2014 18:02, Joe Taylor wrote:
WA7KGX wrote:
I now have r3669 running on Fedora 20, the released version.
As with Rawhide, I had to load a 32 bit libgfortran so the 32 bit
kvasd would run.
As an experiment, I built a statically linked linux executable for
kvasd and posted it at
http://physics.princeton.edu/pulsar/K1JT/kvasd_static
The final build command was
$ gfortran -o kvasd -static kvasd.o asd1.o cutil.o
I think this executable should not require any runtime libraries. But
I really don't know what range of Intel-Linux platforms it should run
on.
I suspect that will not work as you expect Joe. The library libc is
part of the o/s and cannot be statically linked into a binary. This is
one of the two libraries that need to be 32-bit versions when you
compile a 32-bit version of kvasd.
You can check by running "ldd <your-executable>" if it is dynamically
linked to libc then it will not run on a 64-bit Linux system unless
the 32-bit version of libc is installed.
Having said that it does appear to be portable! I suspect that the libc
dependencies from libgfortran were not pulled in because they weren't
referenced.
If you are running WSJT-X under some Linux other than Ubuntu 12.x or
13.x, please try substituting kvasd_static (renamed to kvasd) for
your existing kvasd. You'll want to make a backup copy of the
original kvasd first. Let us know your results!
If someone knows a better way to make a more-nearly-transportable
executable, please share your knowledge here.
-- Joe, K1JT
73
Bill
G4WJS.
73
Bill
G4WJS.
_______________________________________________
Wsjt-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/wsjt-devel