red hat what ? RHEL5 or RHEL6
and seeing as it is red hat you are paying $299USD per year for support
a support contract IS REQUIRED - RHEL is not free
you might want to start with searching the RHN knowledge base
( your RHN username and pass you set up with the paid license WILL be needed )
also post WHAT this unnamed program is and HOW you built it
the full commands you used
some basics might be in order
centOS is a free rebuild of RHEL
Now I am facing a problem that my exe can be opened in a vim editor
i am assuming you are using the HEX code editor that is in vi
there is almost NEVER anything that can be manually edited in HEX ( sometimes there are a few hacks - like the unlocking of windows dll's )
and also that when I copy my exe to some other location it does not run
from where to where????
is it on the same computer? or someplace in a lan ?
as there comes a relink_path in my exe which points to that location where I had compiled my code.
the name of this program AND the full commands you use to build it would help in that
as it is we can only guess that you HARD coded in a location
also a Linux executable binary file is not an "exe" .Linux dose NOT use file extensions ( they only help in seeing what it is) ,but the file properties