Networking | Hardware | Software | Multimedia | System | Unix&Linux | MBA

Home>>Unix&Linux>>question about binaries

question about binaries

pfaendtner
04-06-2005, 02:17 PM
Is it at all possible to take binaries compiled for linux on Intel pentium computers and use them in terminal ?

AHunter3
04-06-2005, 02:40 PM
Compiled? No.

Source code? Often.

UltraNurd
04-06-2005, 03:12 PM
Yes, but only if you've told the compiler on the intel system to actually compile for a PowerPC architecture, which is probably not a very useful thing to do since you need to compile from source either way. There are many fundamental differences between the architectures, like RISC vs. CISC, big- vs. little-endian, etc.

AHunter3
04-06-2005, 06:14 PM
Hmmph. Well, yes, if you read the OP as "compiled" <verb> "for linux" <object> "on Intel pentium computers" <adverbial phrase explaining where code was compiled for linux>.

I read it as "compiled" <verb> "for linux on Intel pentium computers <object>, i.e., compiled as a binary that would run in a PC Linux environment, specifically. And unless you can compile a FAT Binary that will run on either a PowerPC box or an Intel box (can that be done? has it ever been?), compiling it for Linux-x86-PC effectively means it isn't going to run from the command line of any PowerPC system, let alone the BSD-based Darwin underlying MacOS X. (right? am I missing something? I'm not, am I?)

acme.mail.order
04-07-2005, 08:14 PM
You could install VirtualPC, put the appropriate flavour of Linux on it, and run the original binary from the shell there.

-- or --

Get a used intel box for $50 and run the command from the Mac shell via ssh.

-- or --

see of the package is in fink already.


 

TOP

Windows Server Outsell
Unix Signals And C++ E

For more info

Unix Signals And C++ E
Windows Server Outsell
ssh setup for password
Bash script does not w
esc code 
ARD send unix command 
question about binarie
Scanning mail 
Issuing multiple comma
How do I install Linux

News Archive

/etc/hosts? 
Manually Start a Start
mounting missed hard d
Using Netinfo in Singl
darwin/bsd login probl
system_profiler and fi
Send mail from script 
mounting a drive 
OS X disk first aid ha
system.log shows steal

Related stories:

Bash script does not work!
esc code
ARD send unix command question
installing Libusb
Issuing multiple commands through SSH
ssh setup for passwordless login
quoting string with single quotes inside?

Copyright@2004-2005 www.zzcoke.com All Right Reserved

advanced web statistics