I compiled my class Transfer
correctly in Solaris
. There is the executable file transfer
. If i were in Linux
, I would to ./transfer
and the program would execute perfectly. However, when I run ./transfer
in Solaris
I get:
bash: ./transfer: invalid argument
Does someone know how to run an executable in Solaris
?
Sounds like compilation was done targeting a different architecture than the host machine.
See related thread - x86 binary on a SPARC machine.