On Tue, Sep 1, 2009 at 23:50, Stefano Covino<stefano_cov...@yahoo.it> wrote: >> >> The 64-bit version of OS X complies to a different UNIX standard than >> the 32-bit version. gettimeofday(), which is being used to seed the >> random number generator, is one of the affected functions. > > Thanks. I guessed something like this. > > Is there a way to constrain an old-style compilation just to make a code > work? I have similar problems with other old pieces of code.
Use "-arch i686" in the CFLAGS and LDFLAGS. I think. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion