LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-12-2008, 07:31 PM   #1
ajmas
LQ Newbie
 
Registered: Jan 2008
Posts: 3

Rep: Reputation: 0
"Universal" binaries in Linux?


I saw that with MacOS X it is possible to have what is called a "universal binary", which is basically a binary executable which supports multiple architectures. For example the sample output of a binary:

$ file libtest.dylib
libtest.dylib: Mach-O universal binary with 3 architectures
libtest.dylib (for architecture i386): Mach-O bundle i386
libtest.dylib (for architecture ppc): Mach-O bundle ppc
libtest.dylib (for architecture x86_64): Mach-O 64-bit bundle x86_64

Is this achievable under Linux? If it is, how would I go about doing this?
 
Old 01-12-2008, 07:41 PM   #2
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 71
I've got one word for you.
Java.
 
Old 01-12-2008, 11:12 PM   #3
ajmas
LQ Newbie
 
Registered: Jan 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Uncle_Theodore View Post
I've got one word for you.
Java.
Certainly universal, but it does not always have access to the native APIs. Even here a library that supports multiple architectures (Not OSs) could be useful.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you create shortcuts to "folders" and "binaries" in GNOME? ebenh Linux - Desktop 5 01-21-2008 05:28 AM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 08:31 AM
Yum & "Core Binaries" Question The00Dustin Linux - Software 2 09-26-2006 11:15 AM
Where to download precompiled bash binaries, such as "time" and "top"? elinuxqs Linux - Newbie 12 11-14-2005 08:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration