| OS X - Operating System General OS operation information and support |
| Post Reply | New Thread | Subscribe |
|
|
Thread Tools |
![]() Member Since: Jun 15, 2011
Posts: 35
![]() |
How can I tell if my google chrome is 64 bit.. I know I can use the "file" command but where is the executable? is the .app file the executable? I'm just wondering how os-x knows how to launch the application when clicking the .app file. There must be some information that tells the OS where the binary is...app seems like it's analogous to .exe on windows but yet I can get package contents so I'm a bit confused. I tried googling but can't really find anything on how applications are launch on mac and how the OS knows where to find the executable.. This all came about because I'm thinking of building the 64 bit chromium. anyone using 64 bit chromium? is it worth building? of course I'll need to install another 4 gigs of ram if I really want to take advantage of the 64 bit.
|
| QUOTE Thanks | |
![]() Member Since: Oct 19, 2008
Location: Ottawa
Posts: 15,331
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 2012 13" MBP (2.5 i5, 8GB)
|
Chrome is 32-bit only so it won't be running as a 64-bit binary. For other apps, you can always use Activity Monitor and look under the "Kind" column. As for the binaries in app bundles, you can find them in the <app name>/Contents/MacOS folder.
Important Links: Community Guidelines : Use the reputation system if you've been helped. M-F Blog :: Write for the blog :: M-F IRC Channel - Chats every Sunday at 8PM EST. |
| QUOTE Thanks | |
![]() Member Since: Jun 15, 2011
Posts: 35
![]() |
Last edited by gumba128; 07-07-2011 at 11:06 PM. |
||||
| QUOTE Thanks | |||||
![]() Member Since: Jun 15, 2011
Posts: 35
![]() |
Think I found it..I need the "open command" still one question I have though..The MacOs usually contains the executable or the main entry point for the application so if it were 64 bit wouldn't "file <executable>" tell me if it was 64 bit or is it not always the case if it's just an entry point into the application? cause the executable in google chromes case is only 15 kb so I don't think that's the actual application itself so I'm not sure if "file " would really tell me anything
|
| QUOTE Thanks | |
![]() Member Since: Oct 19, 2008
Location: Ottawa
Posts: 15,331
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 2012 13" MBP (2.5 i5, 8GB)
|
Code:
~ :: file /Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary /Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary: Mach-O executable i386 Code:
~ :: file /Applications/VLC.app/Contents/MacOS/VLC /Applications/VLC.app/Contents/MacOS/VLC: Mach-O universal binary with 2 architectures /Applications/VLC.app/Contents/MacOS/VLC (for architecture x86_64): Mach-O 64-bit executable x86_64 /Applications/VLC.app/Contents/MacOS/VLC (for architecture i386): Mach-O executable i386 As for why "./Google Chrome" didn't work, you forgot to escape the space: Code:
./Google\ Chrome Important Links: Community Guidelines : Use the reputation system if you've been helped. M-F Blog :: Write for the blog :: M-F IRC Channel - Chats every Sunday at 8PM EST. |
| QUOTE Thanks | |
![]() Member Since: Oct 19, 2008
Location: Ottawa
Posts: 15,331
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 2012 13" MBP (2.5 i5, 8GB)
|
Yeah, Canary is for those who like really the bleeding edge. It's "one step up" from the dev builds. Updates are more frequent as well.
As for the space escaping, it's a common mistake. Just remember that if you don't escape it, bash will think that everything after the space is a parameter for the application that you're trying to execute. For instance, if you don't escape "./Google Chrome", bash will try to execute a binary called "Google" and send "Chrome" as a parameter. Or, if you sent it "./Google Chrome Canary", it would send "Chrome" and "Canary" as parameters to "Google." Important Links: Community Guidelines : Use the reputation system if you've been helped. M-F Blog :: Write for the blog :: M-F IRC Channel - Chats every Sunday at 8PM EST. |
| QUOTE Thanks | |
![]() Member Since: Oct 19, 2008
Location: Ottawa
Posts: 15,331
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 2012 13" MBP (2.5 i5, 8GB)
|
No and you can't - 64-bit support is only available for the Linux source (here). Even if you could, there's absolutely no reason to need a 64-bit browser at this time.
Important Links: Community Guidelines : Use the reputation system if you've been helped. M-F Blog :: Write for the blog :: M-F IRC Channel - Chats every Sunday at 8PM EST. |
| QUOTE Thanks | |
| Post Reply | New Thread | Subscribe |
| Thread Tools | |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|
|||||||
Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| A Switchers guide to recommended free Apps to download to your new Mac | the8thark | Switcher Hangout | 67 | 03-19-2013 10:48 AM |
| iTunes as a 64bit Application ?? | TattooedMac | OS X - Apps and Games | 25 | 01-08-2011 05:31 PM |
| Launching an application while executing an applescript? | Commander_FarkU | OS X - Development and Darwin | 0 | 06-13-2010 09:32 PM |
| Facebook application | facebuck55 | iPod Hardware and Accessories | 8 | 12-11-2009 07:14 PM |
| relaunch an application in OS X Leopard | jomafaki | OS X - Development and Darwin | 0 | 06-19-2009 10:28 AM |
All times are GMT -4. The time now is 03:28 AM.
Powered by vBulletin