Quantcast
Channel: gcc - unknown switches (absent also from the manpage) - Unix & Linux Stack Exchange
Browsing all 3 articles
Browse latest View live

Answer by Bodo for gcc - unknown switches (absent also from the manpage)

The option is shown as "-l_library_" (no space) or "-l _library_" (with a space) and c is the library argument, see https://linux.die.net/man/1/gcc -lc will link libc (-lfoobar would link libfoobar...

View Article



Answer by Stephen Kitt for gcc - unknown switches (absent also from the manpage)

-lc links with libc, the C library. See the description of -llibrary in the documentation.

View Article

gcc - unknown switches (absent also from the manpage)

I'm trying to experiment with shared objects and found the below snippet on http://www.gambas-it.org/wiki/index.php?title=Creare_una_Libreria_condivisa_(Shared_Library)_.so gcc -g -shared...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images