Re: [Numpy-discussion] building 32 bit numpy on 64 bit linux

2014-05-19 Thread David Jones
path: export PATH=$HOME/bin:$PATH Build numpy: python setup.py build On Thu, Dec 12, 2013 at 1:58 PM, David Jones wrote: > I'm trying to compile 32-bit numpy on a 64 bit Centos 6 system, but fails > with the message: > > "Broken toolchain: cannot link a simple C program&

Re: [Numpy-discussion] building 32 bit numpy on 64 bit linux

2013-12-16 Thread David Jones
On 12/13/13 13:48, Julian Taylor wrote: > On 13.12.2013 18:46, David Jones wrote: >> ... >> >> Correction. Of course LD_LIBRARY_PATH isn't seen by the compiler. It >> only applies at run time. How embarrasing:) This isn't the first time >> I've be

Re: [Numpy-discussion] building 32 bit numpy on 64 bit linux

2013-12-13 Thread David Jones
On 12/13/13 13:48, Julian Taylor wrote: > On 13.12.2013 18:46, David Jones wrote: >> ... >> >> Correction. Of course LD_LIBRARY_PATH isn't seen by the compiler. It >> only applies at run time. How embarrasing:) This isn't the first time >> I've be

Re: [Numpy-discussion] building 32 bit numpy on 64 bit linux

2013-12-13 Thread David Jones
ould be in CFLAGS. (and > ld flags go into LDFLAGS). Otherwise you are saying to use a program > called "gcc -m32" (with a space in the name). > > > > On Fri, Dec 13, 2013 at 8:02 AM, David Jones wrote: >> On 12/12/13 16:35, Julian Taylor wrote: >>>

Re: [Numpy-discussion] building 32 bit numpy on 64 bit linux

2013-12-13 Thread David Jones
cc wrappers, as suggested below. As I said, a cleaner, universally applicable method is definitely needed. > > > > On Fri, Dec 13, 2013 at 8:02 AM, David Jones wrote: >> On 12/12/13 16:35, Julian Taylor wrote: >>> On 12.12.2013 20:40, David Jones wrote: >>>> On

Re: [Numpy-discussion] building 32 bit numpy on 64 bit linux

2013-12-13 Thread David Jones
On 12/12/13 16:35, Julian Taylor wrote: > On 12.12.2013 20:40, David Jones wrote: >> On 12/12/13 15:54, Julian Taylor wrote: >>> On 12.12.2013 19:58, David Jones wrote: >>>> I'm trying to compile 32-bit numpy on a 64 bit Centos 6 system, but fails >&

Re: [Numpy-discussion] building 32 bit numpy on 64 bit linux

2013-12-13 Thread David Jones
On 12/12/13 16:35, Julian Taylor wrote: > On 12.12.2013 20:40, David Jones wrote: >> On 12/12/13 15:54, Julian Taylor wrote: >>> On 12.12.2013 19:58, David Jones wrote: >>>> I'm trying to compile 32-bit numpy on a 64 bit Centos 6 system, but fails >&

Re: [Numpy-discussion] building 32 bit numpy on 64 bit linux

2013-12-13 Thread David Jones
On 12/12/13 16:35, Julian Taylor wrote: > On 12.12.2013 20:40, David Jones wrote: >> On 12/12/13 15:54, Julian Taylor wrote: >>> On 12.12.2013 19:58, David Jones wrote: >>>> I'm trying to compile 32-bit numpy on a 64 bit Centos 6 system, but fails >&

Re: [Numpy-discussion] building 32 bit numpy on 64 bit linux

2013-12-12 Thread David Jones
On 12/12/13 15:54, Julian Taylor wrote: > On 12.12.2013 19:58, David Jones wrote: >> I'm trying to compile 32-bit numpy on a 64 bit Centos 6 system, but fails >> with the message: >> >> "Broken toolchain: cannot link a simple C program" >> >>

[Numpy-discussion] building 32 bit numpy on 64 bit linux

2013-12-12 Thread David Jones
I'm trying to compile 32-bit numpy on a 64 bit Centos 6 system, but fails with the message: "Broken toolchain: cannot link a simple C program" It get's the compile flags right, but not the linker: C compiler: gcc -pthread -fno-strict-aliasing -g -O2 -m32 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-