next up previous contents
Next: Building EMBOSS Up: Configuring for 64 bit Previous: Configuring for 64 bit   Contents

IRIX 6.5.10

In order to compile for 64 bit on IRIX you have to specify the native compiler in 64 bit mode (

cc -64
) and the linker in 64 bit mode (
/bin/ld -64
). The following notes were provided by Jose Ramon Valverde2.1.

We have succeeded in compiling EMBOSS for IRIX using 64 bit compilation.

It required some tweaking, but works. The recipe for those willing to give it a try is:

The reason is that compiling depends on the Makefile and on libtool, as well as linking. We didn't spend much in looking at configure since the above steps where so straightforward. We know we should look into the configure script and add an option for 64-bit-irix-compile or some such, but that'll have to wait till we have time for it.

Yes, we know, the search and substitute thing looks tedious, but it isn't, honest: create a 'chfile.sh' out of the EMBOSS source hierarchy containing:

#/bin/sh
cp \$1 \$1.orig
mv \$1 tmpfile
sed -e 's/CC="cc"/CC="cc -64"/g' tmpfile | \
sed -e 's/CC = cc/CC = cc -64/g' | \
sed -e 's/\/bin\/ld/\/bin\/ld -64/g' \$1 
rm tmpfile
## if you are sure, uncomment this 
#rm \$1.orig

'

cd
' to the
emboss
directory and run

	find . -type f -exec /path/to/chfile.sh {} \; -print

and you are done with the CC changes. Libtool requires special treatment since it uses quotes.


next up previous contents
Next: Building EMBOSS Up: Configuring for 64 bit Previous: Configuring for 64 bit   Contents
Peter Rice 2007-04-26