On Sep 8, 7:38 am, "Dr. David Kirkby" <david.kir...@onetel.net> wrote: > Juan Jose Garcia-Ripoll wrote: > > It seems that in OS X, when using "gcc" to link the object files into > > an executable, the flag -m64 is needed _again_ to specify that it is a > > 64-bits build. This is regarding David's question in the sage-devel > > group. > > > Now, this is one of the reasons why ECL does not build on OS X when > > compiling with CFLAGS="-m64" Since the linker needs the -m64 flag, ECL > > is not capable of finding your copy of the MPIR library. > > Can you show me where it is documented that the linker has a '-m64' flag?
Dave, you are really hard to convince. GCC refuses to build a 64 bit binary, linking the object files, if not passed a -m64 flag. I do not know about "ld". I personally do not use it for linking because there are libraries that I would miss and which GCC or any other compiler (g+ +, IBM's,...) takes care of adding when used for linking. Juanjo --~--~---------~--~----~------------~-------~--~----~ 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 URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---