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
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.