From owner-freebsd-questions Tue Apr 25 9:38:49 2000 Delivered-To: freebsd-questions@freebsd.org Received: from inetminas.estaminas.com.br (inetminas.estaminas.com.br [200.251.191.247]) by hub.freebsd.org (Postfix) with ESMTP id C5E6A37B810 for ; Tue, 25 Apr 2000 09:38:39 -0700 (PDT) (envelope-from pamplona@uai.com.br) Received: from w95-0sr2 (nas1-17.estaminas.com.br [200.251.117.17]) by inetminas.estaminas.com.br (8.9.1a/8.9.1) with SMTP id NAA05729 for ; Tue, 25 Apr 2000 13:38:33 -0300 (GMT) Message-ID: <3902B9A5.1065@uai.com.br> Date: Sun, 23 Apr 2000 05:51:50 -0300 From: Gustavo Pamplona Reply-To: pamplona@uai.com.br X-Mailer: Mozilla 3.04Gold (Win95; I) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: How to compile Static (without necessary libraries) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, Guys I d' like to know how to compile a program without lib's. What I have to change, the contents of .H and .C files (the source - I think very hard) or only a few things in Makefile's and/or "dependency" files. Per example, Take off the references of -l in Makefile's and put the necessary .a or the .h and .c of the libraries inside of the .h and .c of the source code of the program. Thanx and Regards []'s -- /=============================================\ Gustavo Pamplona - pamplona@uai.com.br Linux User: 137471 - FreeBSD User: FBSD042237 Slackware 7.0 | Slackware 4.0 RedHat 6.0 | Mandrake 6.1 Debian 2.1 | S.u.S.E 6.2 FreeBSD 3.2 | Windows 95 OSR2 \=============================================/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message