On 23 Mai, 22:03, "Dr. David Kirkby" <david.kir...@onetel.net> wrote:
> gcc is being called without the -m64 option when building 'gdmodule' on
> OpenSolaris, despite SAGE64 being set to "yes".
>
> But I've no idea how to go about changing this behavior. There seems to be no
> code which does anything special on OS X for 64-bit builds.

For Cygwin there is.

> but don't have much clue about how to solve it, as I don't understand the 
> build
> process involved here.

You have to edit patches/Setup.py[.patch] and pass extra args to the
compiler.
(I can perhaps later post what/how exactly on the ticket.)

> Host system
> uname -a:
> SunOS hawk 5.11 snv_134 i86pc i386 i86pc

uname -m == i386 is bad for a 64-bit machine...
(I wonder why/how gcc was [auto-?]configured; without multi-lib
support?)

> gcc -v
> Using built-in specs.
> Target: i386-pc-solaris2.11
> Configured with: ../gcc-4.4.4/configure --prefix=/usr/local/gcc-4.4.4
> --with-as=/usr/local/binutils-2.20/bin/as --with-ld=/usr/ccs/bin/ld
> --with-gmp=/usr/local --with-mpfr=/usr/local
> Thread model: posix
> gcc version 4.4.4 (GCC)

-Leif

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to