Compiling programs on Solaris

gmbrker

Member
Oct 19, 1999
84
0
0
I am having trouble running my compiled programs on Solaris. The program is compiled using the following command

g++ programane.cpp -o programname

the object file is created. Its permissions are rwx
but when I run it, I get the folowwing message

programname: Command not found


Anybody know whats wrong?