found it: compiler switch "-m32", works
sorry for the message (but it might be useful to others, I suppose)
Phil
On 14 Feb 2007, at 10:00, Phil Evans wrote:
> 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
|