Hi,
Thank you for the hints:
> Did you build the compiler with a cross compiler on a host system or are
> you building the tools with the target system?
>
Building WSJTX on the target system using the build tools as installed via “yum
install ….”
or as a normal user? would for packages for the distro.
- I seem to be making the incorrect assumption that installing a package like
the compiler
would also set the paths needed to use it?
> Did you build gcc yourself?
No, installed via sudo yum groupinstall “Development Tools”
>
> Did you install it after building?
>
No, no build has been made yet.
> gcc has all the subcomponent locations "baked in", did you try and move
> it to a different location after installation?
>
Not moved, the blog entry lists the progression of tools installed (pasted
below)
> A symlink to the various compiler drivers (gcc, g++, gfortran,...) will
> work, moving it will not.
Not moved.
According to Gregs suggestion
whereis cc1
cc1:
Its not found.
finding it from the root with find . -name cc1 -print
gives
./usr/libexec/gcc/armv7hl-redhat-linux-gnueabi/4.9.2/cc1
making a symlink (surely the compiler package should of done this?)
$ ls -la cc1
lrwxrwxrwx 1 root root 55 Mar 17 21:44 cc1 ->
/usr/libexec/gcc/armv7hl-redhat-linux-gnueabi/4.9.2/cc1
Installed Packages
gcc.armv7hl 4.9.2-6.fc21
@updates
gcc-c++.armv7hl 4.9.2-6.fc21
@updates
gcc-gfortran.armv7hl 4.9.2-6.fc21
./configure still reports
configure: error: C compiler cannot create executables
From the blog:-
build-essentials is “Development Tools” in Fedora land.
$ sudo yum groupinstall “Development Tools”
$ sudo yum install automake autoconf asciidoc texinfo
We also need gfortran, and the libfftw libs.
Trying to install gfortran on its own gave an error, its
$ sudo yum install gcc-gfortran
next up, libtool, fftw-
$ sudo yum install libtool
$ sudo yum install fftw.armv7h fftw-devel.armv7hl
Lets try hamlib.
$ cd .. (to external-source)
$ mkdir hamlib-prefix
$ cd hamlib-prefix
$ git clone git://git.code.sf.net/u/bsomervi/hamlib src
$ cd src
$ git checkout integration (not sure this is needed?)
../src/autogen.sh –prefix=/home/lab/external-source/hamlib-prefix
–disable-shared –enable-static –without-cxx-binding –disable-winradio
CFLAGS=”-fdata-sections -ffunction-sections” LDFLAGS=”-W1,–gc-sections”
checking whether the C compiler works… no
BR
Mike.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel