New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

/usr vs /Developer/usr


Post Reply New Thread Subscribe

 
Thread Tools
mbohn

 
Member Since: Jul 09, 2009
Location: Colorado
Posts: 356
mbohn will become famous soon enough

mbohn is offline
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
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 18,352
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
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
QUOTE Thanks
mbohn

 
Member Since: Jul 09, 2009
Location: Colorado
Posts: 356
mbohn will become famous soon enough

mbohn is offline
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
QUOTE Thanks
dcow

 
dcow's Avatar
 
Member Since: Jan 14, 2010
Posts: 65
dcow has a little shameless behaviour in the past
Mac Specs: 13" MacBook (late-2008)

dcow is offline
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.
QUOTE Thanks

Post Reply New Thread Subscribe


« Boot from /Developer? | help with termianal »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
/usr directory - can't find romsok OS X - Operating System 1 10-17-2009 01:57 PM
/usr??? Thundermoon1994 OS X - Development and Darwin 4 10-18-2007 08:52 AM

All times are GMT -4. The time now is 02:49 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?