The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > Linux
.
google unix.com



Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Obtain Mac Adress in crontab Pedro Almeida OS X (Apple) 5 06-06-2008 09:26 AM
How to obtain list of users ? bobby36 UNIX for Dummies Questions & Answers 7 04-10-2007 01:34 AM
How can I obtain Hpux? arabidi HP-UX 4 12-21-2006 08:49 AM
command to obtain lrecl leroyj UNIX for Dummies Questions & Answers 1 07-07-2004 11:03 AM
Where to obtain FreeBSD? treborwallace UNIX for Dummies Questions & Answers 3 11-30-2001 05:59 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-17-2006
pavlin pavlin is offline
Registered User
  
 

Join Date: Aug 2006
Posts: 2
obtain executable target platform

Hello all, I am trying to obtain the target platform for which a particular executable has been compiled for. I know it must be possible. It's quite obvious with the .exe files but how do you determine among unix/linux/solaris/sunos/sparc ... Any help will be appreciated. Thanks a lot

Pavlin
  #2 (permalink)  
Old 08-17-2006
vino's Avatar
vino vino is offline Forum Staff  
Supporter (in vino veritas)
  
 

Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,798
Try using file.

A solaris file

Code:
file libnjssl8.so
> libnjssl8.so: ELF 32-bit MSB shared object, SPARC, version 1 (SYSV), not 
> stripped

A linux file

Code:
file libnjssl10.so 
libnjssl10.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped

  #3 (permalink)  
Old 08-17-2006
pavlin pavlin is offline
Registered User
  
 

Join Date: Aug 2006
Posts: 2
Thanks, that would do just fine
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:50 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0