Re: [EMBOSS] Build -m32 on 64 bit host, problems

2011-06-27 Thread David Mathog
Found it in configure.  There is a test to see if the compiling system
is x86_64, but there doesn't seem to be anything there to see if the
intent is to build 32 bit on that system.  Chopped out that test and
reran configure, which removed the -D__amd64__ from the makefiles.

Compiling now.

Regards,

David Mathog
mat...@caltech.edu
Manager, Sequence Analysis Facility, Biology Division, Caltech
___
EMBOSS mailing list
EMBOSS@lists.open-bio.org
http://lists.open-bio.org/mailman/listinfo/emboss


[EMBOSS] Build -m32 on 64 bit host, problems

2011-06-27 Thread David Mathog
Trying again to compile Emboss 6.3.1.  Attempting to build 32 bit
versions as most of the target machines run that, however, the compiler
is running on a 64 bit OS.

Download 6.3.1, unpack, apply 1-4 patch.  Then in top level:

export CFLAGS=-march=athlon-mp -m32
./configure --prefix=/usr/common

which all went fine, except that:

grep m32 Makefile
CFLAGS = -march=athlon-mp -m32  -O2  -DNO_AUTH -D__amd64__

I don't see how to reconcile __amd64__ with the other flags.  Is there
some switch that can be thrown in ./configure to correct this?  Note, I
really do want the 32 bit version even on the 64 bit system, so that all
of the machines will be running exactly the same version.

Thanks,

David Mathog
mat...@caltech.edu
Manager, Sequence Analysis Facility, Biology Division, Caltech
___
EMBOSS mailing list
EMBOSS@lists.open-bio.org
http://lists.open-bio.org/mailman/listinfo/emboss