Date: Fri, 18 Dec 1998 09:16:32 +0000 From: Peng HaiJie <phj@www.transfar.com> To: freebsd-questions@FreeBSD.ORG Subject: How to build static excutable program? Message-ID: <367A1D70.776909F1@www.transfar.com>
next in thread | raw e-mail | index | archive | help
It the first time that I make a static excutable program. I have tried the following lines: gcc -static -o foo foo.c but gcc tells that there are some undefined references . What is the matter? How to build static excutable program?Please give me an example thanks in advace. P.H.J. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?367A1D70.776909F1>