2. I had to add a line to depends/ctypes/libffi/include/ffi.h:
#define __LONG_LONG_MAX__ 9223372036854775807LL
before
#ifdef LONG_LONG_MAX
# define FFI_LONG_LONG_MAX LONG_LONG_MAX
#else
.
.
.
This may be a problem with my C compiler, because its own "limits.h"
has definition for __LONG__LONG_MAX, but for some reason it is not
visible to the compiler. So this is not a suggested fix, but just a
question whether anybody had to do this for an old gcc
(egcs 2.91.66 in my case)?
Without that line, I got an error about unsupported 64 bit types
(although the compiler supports long longs perfectly).
That
version of EGCS is at least 8 years old, although Tom has the final say
on things like this I really don't think we should be adding patches to
support versions of GCC prior to version 3.
3. This may be a question to the scons team, but since it is used for
this particukar project, I'm asking here first.
How can I specify a custom path to a library, include file, etc.?
With autoconf, I am usually able to specify "--with-bla=/foo/bar"
provided that the developer of
configure.ac made such an option
available. How can the same be done with scons? E. g. I want to use
alternate libgmp instead of one installed in /usr/lib?