running an executable c++ program in solaris
===

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`?