Bill --

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.

Here's a simple test of kvasd_static, running on my lab Linux machine (Ubuntu 12.10, 32-bit). This is the machine that compiled kvasd_static:

########################################################################
pulsar% cat /proc/version
Linux version 3.5.0-37-generic (buildd@komainu) (gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) ) #58-Ubuntu SMP Mon Jul 8 22:10:28 UTC 2013

pulsar% cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.10
DISTRIB_CODENAME=quantal
DISTRIB_DESCRIPTION="Ubuntu 12.10"
NAME="Ubuntu"
VERSION="12.10, Quantal Quetzal"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu quantal (12.10)"
VERSION_ID="12.10"

pulsar% kvasd_static

KVASD is s soft-decision decoder for the Reed Solomon code
RS(63,12) over GF(64).  The driver is Copyright(C)
2005-2012 by Joseph H Taylor, Jr, K1JT.  The decoding
algorithm is used under licence from CodeVector
Technologies, LLC, and is protected under US patent
6,634,007.

KVASD may be used freely by anyone for the purpose of
facilitating communication by Amateur Radio.  Any other
use is strictly prohibited.

Usage: kvasd [-q | -v | pathname]

pulsar% ldd kvasd_static
        not a dynamic executable
pulsar%

#########################################################################

Here's the same sequence of commands, with the same file kvasd_static, on a 64-bit machine running Red Hat Linux:
#########################################################################

feynman% cat /proc/version
Linux version 2.6.32-358.el6.x86_64 ([email protected]) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) ) #1 SMP Fri Feb 22 20:37:17 CST 2013
feynman% cat /etc/*-release
LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Scientific Linux release 6.4 (Carbon)
Scientific Linux release 6.4 (Carbon)
feynman% kvasd_static

KVASD is s soft-decision decoder for the Reed Solomon code
RS(63,12) over GF(64).  The driver is Copyright(C)
2005-2012 by Joseph H Taylor, Jr, K1JT.  The decoding
algorithm is used under licence from CodeVector
Technologies, LLC, and is protected under US patent
6,634,007.

KVASD may be used freely by anyone for the purpose of
facilitating communication by Amateur Radio.  Any other
use is strictly prohibited.

Usage: kvasd [-q | -v | pathname]
feynman% ldd kvasd_static
        not a dynamic executable
feynman%

#########################################################################

So the static-linked kvasd_static seems to be executable on both platforms.

Am I overlooking something important?

        -- Joe, K1JT
_______________________________________________
Wsjt-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/wsjt-devel

Reply via email to