Results 1 to 4 of 4
  1. #1
    /usr vs /Developer/usr

    Member Since
    Jul 09, 2009
    Location
    Colorado
    Posts
    356
    /usr vs /Developer/usr
    What's the difference? I'd like to use the former for a cross-platform application that I develop on OSX and run on Linux. /usr is common to both, /Developer/usr is not. Any harm in using /usr on both?
    www.dynostep.com
    engine simulation software

  2. #2
    /usr vs /Developer/usr
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,395
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    I'm not 100% sure on this answer but I'll try.

    After looking in the /Developer/usr directory, it appears to be only apps/libraries that you might commonly find in /usr but are development related. In other words, /Developer/usr appears to contain only that which is pertinent to development. My advice then would be to stick to /usr. I've never actually seen /Developer on Linux installs as it appears to be specific not only to OS X but Xcode. Again, you might want to wait to get a more definite answer on exactly why Xcode has it's own usr directory.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  3. #3
    /usr vs /Developer/usr

    Member Since
    Jul 09, 2009
    Location
    Colorado
    Posts
    356
    I've been working with /usr to see how that goes. It works fine but dealing with all the permissions issues can be quite a PITA. I'm going to try and work out a better solution for my situation.
    www.dynostep.com
    engine simulation software

  4. #4
    /usr vs /Developer/usr
    dcow's Avatar
    Member Since
    Jan 14, 2010
    Posts
    65
    Specs:
    13" MacBook (late-2008)
    Actually, you've answered the question right there. There is a /Developer/usr because its executables allow you a little more slack as far as what you're allowed to do with them (permissions being one of the major issues). Also, it allows you to test executables easier.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Unlocking usr files
    By somerandomjerk in forum OS X - Operating System
    Replies: 0
    Last Post: 08-12-2011, 12:16 PM
  2. /usr/local
    By oxygren in forum OS X - Operating System
    Replies: 4
    Last Post: 07-13-2009, 07:55 PM
  3. Xcode: "Command /Developer/usr/bin/g++-4.0 failed with exit code 1" HELP
    By finnm in forum OS X - Development and Darwin
    Replies: 1
    Last Post: 10-15-2008, 10:57 AM
  4. usr issues
    By tessg in forum OS X - Operating System
    Replies: 1
    Last Post: 07-30-2008, 02:41 PM
  5. /usr???
    By Thundermoon1994 in forum OS X - Development and Darwin
    Replies: 4
    Last Post: 10-18-2007, 07:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •