Hi William, unlike OS X 10.7 Lion (for which no official install DVDs exist), OS X 10.6 Snow Leopard came with/on a install DVD (either with the Mac when one bought it, or when one bought Snow Leopard later). And on those DVD(s), there is also the XCode 3.x package --- to the best of my knowledge, this hold for all versions of OS X 10.6 Snow Leopard.
As a second possibility, one can sign up for a free account to the Apple Development network (ADC) --- note that this has nothing to do with the Apple App Store or your Apple ID. There, XCode up to XCode 3.2.6 should be downloadable (I didn't check recently, but why would Apple change that). I got myself e.g. "xcode25_8m2558_developerdvd.dmg" and "xcode322_2148_developerdvd.dmg" from there (the latest should be some "xcode326....dmg"). If you don't need the standard Unix development tools coming with XCode (such as "make", "autoconf", etc.), but "only" need some gcc, and you are on OS X 10.7, you can download and install the Apple gcc v4.2.1 version (build 5666.3) from http://r.research.att.com/tools/ e.g. as a nice package "gcc-42-5666.3-darwin11.pkg" (link near the middle of that page under the title "Apple Xcode gcc-42 add-ons"). I didn't check whether it installs without XCode though, but I don't see any reason why it shouldn't (I did install it under a OS X 10.7.2 install with XCode 4.2.1, so can confirm that it works in such a scenario). Note that this installs "only" some /usr/bin/gcc-4.2 etc., so you'll need at least additionally something like: sudo ln -sf /usr/bin/gcc-4.2 /usr/bin/gcc and sudo ln -sf /usr/bin/g++-4.2 /ust/bin/g++ Unfortunately, this might not work for OS X 10.6 (I didn't test it there). If not, one could give a try to "gcc-42-5553-darwin8- all.tar.gz" (targetting OS X 10.4, but might work on OS X 10.6, too) from the the same page/site --- unfortunately, the R project does not provide all nice-to-have combinations of the tools there, e.g. especially gfortran for/with Apple gcc build 5666.3 specifically built for OS X 10.6 Snow Leopard. BTW, the sources of this are all free and available, but you'd have to bootstrap somehow ... or we'll just ask the R folks to update their tool page to include a "gcc-42-5666.3- darwin10.pkg" (as it would be have to be named --- darwin11 == 10.7, darwin10 == 10.6, ..., darwin8 == 10.4). Of course there are also MacPorts, Gentoo Prefix, Homebrew and the like. Maybe we should create and provide some "easy-to-install" minimal binary installation of "just what Sage needs on OS X" available for exactly the purpose you started your post for (i.e. an official Sage project alternative to saying "go install XCode" on OS X). Restricting ourselves to 64bit OS 10.6 or higher (i.e. currently OS X 10.6 and 10.7), and targetting primarily Sage "binary installs" (i.e. not claiming to be fully able to build a Sage source distribution), creating such a "dev tools dmg" binary installation is pretty straightforward. I don't know enough of Homebrew, but I boldly claim to be able to do so myself for the first two, i.e. MacPorts and Gentoo Prefix (famous last words (tm) :-) ). Is there a need for something like that? Any votes?? More thoughts??? (Incidentally, this also touches the topic of that other recent post http://groups.google.com/group/sage-devel/browse_thread/thread/11a8eedde829cf0d# about "Please someone upgrade sagenb so it has R graphics support"--- see the R tool page about "cairo", under "Optional tools and libraries".) Cheers, Georg -- 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