<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>Frequently Asked Questions About Linux / UNIX &#187; gcc command</title> <atom:link href="http://www.cyberciti.biz/faq/tag/gcc-command/feed/" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/faq</link> <description>Every answer asks a more beautiful question.</description> <lastBuildDate>Fri, 03 Feb 2012 22:38:32 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Linux: /usr/bin/ld: cannot find -lc Error and Solution</title><link>http://www.cyberciti.biz/faq/centos-rhel-redhat-usrbinld-cannot-findlc-error/</link> <comments>http://www.cyberciti.biz/faq/centos-rhel-redhat-usrbinld-cannot-findlc-error/#comments</comments> <pubDate>Sun, 15 May 2011 09:35:18 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[RedHat and Friends]]></category> <category><![CDATA[gcc command]]></category> <category><![CDATA[mini_sendmail]]></category> <category><![CDATA[redhat enterprise linux 6]]></category> <category><![CDATA[rhel 6]]></category> <category><![CDATA[yum command]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=10493</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/redhat-and-friends/' title='See all Redhat/CentOS/Fedora Core related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/rhlogo.gif' border='0' /></a></div> <span
class="drop_cap">I</span>'m trying to compile <a
href="http://www.cyberciti.biz/tips/howto-setup-sendmail-php-mail-chrooted-apache-lighttpd.html">mini_sendmail</a> as described here. But I'm getting the following error after tying the make command:<blockquote>gcc -O -c mini_sendmail.c
gcc -O -s -static mini_sendmail.o  -o mini_sendmail <strong><span
style='color: rgb(255, 0, 0);'>/usr/bin/ld: cannot find -lc</span></strong> collect2: ld returned 1 exit status
make: *** [mini_sendmail] Error 1</blockquote> How do I fix this problem under RHEL 6?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/centos-rhel-redhat-usrbinld-cannot-findlc-error/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>How you can run a c program in Linux?</title><link>http://www.cyberciti.biz/faq/run-a-c-program-in-linux/</link> <comments>http://www.cyberciti.biz/faq/run-a-c-program-in-linux/#comments</comments> <pubDate>Tue, 16 Oct 2007 13:45:33 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[c program]]></category> <category><![CDATA[compilation]]></category> <category><![CDATA[gcc command]]></category> <category><![CDATA[gcc gnu]]></category> <category><![CDATA[gnu c compiler]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/run-a-c-program-in-linux/</guid> <description><![CDATA[Q. I've a c program and I'd like to run in Linux. A. C program need to compile and run in Linux using cc or gcc command. When you invoke GCC (GNU C Compiler), it normally does preprocessing, compilation, assembly and linking for you. For example to compile hello.c program , type the following command: [...]]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/run-a-c-program-in-linux/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Howto Compiling C program and creating executable file under Linux / UNIX / *BSD</title><link>http://www.cyberciti.biz/faq/compiling-c-program-and-creating-executable-file/</link> <comments>http://www.cyberciti.biz/faq/compiling-c-program-and-creating-executable-file/#comments</comments> <pubDate>Tue, 14 Mar 2006 23:36:00 +0000</pubDate> <dc:creator>nixcraft</dc:creator> <category><![CDATA[Debian / Ubuntu]]></category> <category><![CDATA[FAQ]]></category> <category><![CDATA[FreeBSD]]></category> <category><![CDATA[GNU C / C++]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Openbsd]]></category> <category><![CDATA[RedHat and Friends]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[bsd]]></category> <category><![CDATA[c compiler]]></category> <category><![CDATA[c program]]></category> <category><![CDATA[executable file]]></category> <category><![CDATA[gcc command]]></category> <category><![CDATA[gcc output]]></category> <category><![CDATA[gcc program]]></category> <category><![CDATA[gcc version]]></category> <category><![CDATA[gedit]]></category> <category><![CDATA[gnu gcc]]></category> <category><![CDATA[gnu project]]></category> <category><![CDATA[program c]]></category> <category><![CDATA[project c]]></category> <category><![CDATA[rm command]]></category> <category><![CDATA[syntax]]></category> <category><![CDATA[unix and linux]]></category> <category><![CDATA[unix operating systems]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/compiling-c-program-and-creating-executable-file.php</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='/faq/category/unix/' title='See all UNIX related articles/faq'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/unix-logo.gif' border='0' /></a></div> <span
class="drop_cap">H</span>ow do I compile C program and create an executable file under Linux or UNIX operating systems?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/compiling-c-program-and-creating-executable-file/feed/</wfw:commentRss> <slash:comments>50</slash:comments> </item> </channel> </rss>
