Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSX Installation Without Xcode? #134

Open
1 task
bakercp opened this issue Oct 14, 2014 · 6 comments
Open
1 task

OSX Installation Without Xcode? #134

bakercp opened this issue Oct 14, 2014 · 6 comments

Comments

@bakercp
Copy link
Member

bakercp commented Oct 14, 2014

Ideally we would install nothing to get running, but alas we usually have to install Xcode.

Xcode from the app store is the easiest way to get going.

The latest command line tools command_line_tools_for_osx_mountain_lion_april_2014.dmg for 10.8 do not contain any SDK bundles so it is required to fully install Xcode. They do actually -- it's just the system Root /

To Do:

cursor_and_downloads

@bakercp
Copy link
Member Author

bakercp commented Oct 14, 2014

I figured it out ... with some makefile modifications I just successfully ran ofSketch with ONLY command line tools installed. !!

The key is that the "sysroot" is actually just the root directory and the "/"

I'm updating makefiles and we should be able to avoid much pain getting started now ....

testing on 10.9.

@brannondorsey @mikewesthad

@mikewesthad
Copy link

// todo: finish making time machine :)

@bakercp
Copy link
Member Author

bakercp commented Oct 15, 2014

OK. Did a lot of research on the absolute easiest way to get up and running on OSX. On 10.9, the easiest way will be to have ofSketch launch an install script with xcode-select --install if it doesn't detect command line tools.

On 10.8, it seems that the only legit way to do it is for the user to sign into the apple developer site, download command line tools and run it.

Unfortunately the 10.8 version of xcode-select does not have the --install flag, which hooks into Apple's software update CDN. I looked deep into the software update route and it seems that there are no developer tools available via that route for 10.8.

I want to look into it to see if we can bundle command line tools with ofSketch, but I kind of doubt it ...

Here's a nice summary:

http://www.moncefbelyamani.com/how-to-install-xcode-homebrew-git-rvm-ruby-on-mac/#clt-ml

@mikewesthad
Copy link

I guess the computers in the 416 are running 10.8. I remember trying to run xcode-select --install on one machine, and it didn't recognize the flag.

@bakercp
Copy link
Member Author

bakercp commented Oct 15, 2014

Yeah, that is probably right. Although I swear at least one of them was
running 10.9.5 ...


http://christopherbaker.net

On Wed, Oct 15, 2014 at 7:40 AM, Michael Hadley notifications@github.com
wrote:

I guess the computers in the 416 are running 10.8. I remember trying to
run xcode-select --install on one machine, and it didn't recognize the
flag.


Reply to this email directly or view it on GitHub
#134 (comment).

@bakercp bakercp modified the milestone: v0.5.0 Dec 16, 2014
@bigfatbrowncat
Copy link

Just in case: there is no absolute necessity to install xcode toolkit to compile C++. You may, instead, use brew (for instance). Just like in Windows you can use mingw-w64. And if you are going to make user code really cross-platform, I'd recommend you to consider using a single toolchain (gcc) everywhere. Or even provide your own version of it (in advance).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants