-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Phil;
If you are using gcc/g++ (and also most likely gfortran) you should
add the option -m32 to the compiler (this will make sure the code is
compiled for 32bits, so you can link it with 32bits libraries).
I don't know how you could do the same when using intel's compilers...
Serge.
Le 14 févr. 07 à 11:00, Phil Evans a écrit :
I'm just starting to use a 64-bit Linux machine (running some sort
of RedHat Enterprise system) as a development machine
Our general CCP4 installation is from the binary download (redHat
option) (presumably built on a 32-bit machine), which seems to run
OK on a range of different Linux machines
However if I compile on the 64-bit machine & try to link with these
libraries, it doesn't work
r/bin/ld: skipping incompatible /public/xtal/ccp4-6.0/ccp4-6.0.2-
linux/lib/libccp4f.a when searching for -lccp4f
/usr/bin/ld: cannot find -lccp4f
collect2: ld returned 1 exit status
make: *** [scala] Error 1
Is it possible to set compile flags to produce something (.o) which
will link with th distributed libraries, and produce an executable
which will run on other (32-bit) Linux machines?
In the mean time, I'm doing a complete source build on the 64-bit
machine
Phil
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
iD8DBQFF0ugo5EPeG5y7WPsRAoQOAJ9C5AMmZvGrYGJJbi7WlWoZO3EJlgCg5ryv
D7gopAqky0LXuUtYfegzSPY=
=i3PD
-----END PGP SIGNATURE-----