1

setting permission for executable file output of gcc

view story
linux-howto

http://askubuntu.com – i m pretty new to linux and gcc. i have a file1.s file which i tried to build using gcc with following command - gcc -m32 -o file1 file1.s runtime.c compilation was successful and i got the file1, but on issuing ./file1 does nothing. when i checked the file permissions, i see that for user, only read and write are enabled, executable is set as -. i tried doing chmod u+x file1, but that didnt change any permission. where am i going wrong? how do i execute this file1? it would just print the sum of two numbers. thanks! (HowTos)