From owner-freebsd-questions@FreeBSD.ORG Thu Aug 5 00:52:17 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F54416A4CE for ; Thu, 5 Aug 2004 00:52:17 +0000 (GMT) Received: from serv01.divms.uiowa.edu (serv01.divms.uiowa.edu [128.255.44.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18F3B43D54 for ; Thu, 5 Aug 2004 00:52:16 +0000 (GMT) (envelope-from jason-dusek@uiowa.edu) Received: from [10.59.1.12] ([63.254.130.211]) by serv01.divms.uiowa.edu with id i750eOsR026022; Wed, 4 Aug 2004 19:40:28 -0500 (CDT) Message-ID: <4111824D.9040707@uiowa.edu> Date: Wed, 04 Aug 2004 19:41:49 -0500 From: Jason Dusek User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7) Gecko/20040706 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Jorge Mario G." References: <20040804205325.1432.qmail@web50303.mail.yahoo.com> In-Reply-To: <20040804205325.1432.qmail@web50303.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -4.9 () BAYES_00 X-Scanned-By: MIMEDefang 2.43 cc: questions@freebsd.org Subject: Re: C include question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Aug 2004 00:52:17 -0000 No, because the libs have include statements in them. For example, in my source code I might write: #include "/usr/X11R6/include/GL/glut.h" But this fails because glut.h has the following statements in it: #include #inlcude For it to work, I would have to ammend it to say: #include "gl.h" #inlcude "glu.h" But at the point where I am rewriting bits of the standard GL libraries, it's time to take a different approach. _jason Jorge Mario G. wrote: > Hi there > cant you just use > #include "/the/libs/are/here" > > ===== > > > _________________________________________________________ > Do You Yahoo!? > Información de Estados Unidos y América Latina, en Yahoo! Noticias. > Visítanos en http://noticias.espanol.yahoo.com