Question:
Can I run a UNIX executable on Mac OS X Tiger?
If so, how is it done?
Background:
I FTP'd my schools UNIX server some C++ code and header files. Then I used Telnet to get g++ to compile them.
I then FTP'd the UNIX executable back to my PowerBook G4.
I've already used chmod to allow me to read and write from/to the file. I've also tried the command ./UNIXHashTable to run it. Here is the result fo that effort:
Thorn-Inc-15-G4:~/Desktop antonthorn$ chmod u+rwx UNIXHashTable
Thorn-Inc-15-G4:~/Desktop antonthorn$ ./UNIXHashTable
-bash: ./UNIXHashTable: cannot execute binary file
P.S. It's not a big deal if I can't run this program on my Mac without having to recompile it, but if there is a way it can be done, I'd like to know how. Thank you in advance!