Here's a link on how to compile 64bit using gcc on OSX: http://developer.apple.com/documentation/Darwin/Conceptual/64bitPorting/building/building.html
It looks like all you have to do is add "-arch x86_64" to your compile flags. This is all theoretical to me though... we build 64bit executables here... but we do it with the Intel compiler (which defaults to 64bit). Derek On Jun 6, 2009, at 5:55 PM, Lorenzo Botti wrote: > Thank you for the reply. > > I'm using Leopard and with the command file I get > ns-opt: Mach-O executable i386 > > I think it is a 32bit executable. > I haven't specified any option for the compilers so petsc uses by > default the mpi compilers. > Is the Intel compiler free for osx? How can I get a 64 bit executable? > > Thanks again. > Lorenzo > > 2009/6/6 Derek Gaston <[email protected]> > I wonder if you've compiled a 32bit or 64bit binary. Try running > "file progname" and tell us the output. > > Also... is this on Leopard (10.5) or Tiger (10.4)? > > What compiler are you using? > > I can definitely have programs over 2GB in size on Leopard with a > 64bit executable compiled with the Intel compiler.... > > Derek > > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
