gcc 8.3.0 compiling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



    I am new at using gcc. I have ubuntu 18.10 and gcc 8.30. I try compiling a simple c program with the following command gcc hyworld.c -o hyworld. It seems to compile but when I try to run it I get the error message

file type shared library. What am I doing wrong?

program

#include <stdio.h>

main()

{

    printf("hyworld");

    return o ;

}




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux