Friday, July 30, 2010

Mac dev vs. Linux dev

I'm so comfortable on Linux, so adjusting to a Mac has been...well, surprisingly easy overall.

Ran into a snag today, however, when I tried to use gcc to compile a simple C program and there were permission problems.  I'm not EXACTLY sure how I solved it, but basically I had to copy a whole directly and put it elsewhere:

usr/include

had to be copied to

usr/local/include

As nice as Macs are, this reminds me of how a default Ubuntu installation does not contain the necessary C header files.  Not a big problem by any means, but it will be good to document it here for when I have to set up a Mac lab for programming classes.

No comments:

Post a Comment