From owner-freebsd-questions@FreeBSD.ORG Mon Feb 14 18:17:46 2005 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 1090816A4CE for ; Mon, 14 Feb 2005 18:17:46 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C21743D2F for ; Mon, 14 Feb 2005 18:17:45 +0000 (GMT) (envelope-from mrkung@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so660324wra for ; Mon, 14 Feb 2005 10:17:45 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=al8AOmsiRyJpoo+L58R3+rShZ/d40UwneH4+NTsc7pVs1kAjFzwGt/A20O2/P4Pq6f74pogyc2mQJozCRwSdJAIELUKbUEZgpNb+LNyM1OzFBT1kOR0xS8mUdBfjk6RsAb9yRaH1ndCopuZ7aBRj5OT+69wFUTaDARIdbKRoIAw= Received: by 10.54.5.37 with SMTP id 37mr40107wre; Mon, 14 Feb 2005 10:17:44 -0800 (PST) Received: by 10.54.26.28 with HTTP; Mon, 14 Feb 2005 10:17:44 -0800 (PST) Message-ID: <67f5afb90502141017bf2e58a@mail.gmail.com> Date: Mon, 14 Feb 2005 15:17:44 -0300 From: Maicon Stihler To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: problem with GCC search path on FreeBSD5.3 AMD64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Maicon Stihler List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Feb 2005 18:17:46 -0000 Hi, I installed FreeBSD 5.3 for AMD64 on my computer following the standard procedure. To my surprise, when I tried to compile new packages I find out that /usr/local/lib and /usr/local/include wasnt on gcc's search path. As a workaround I compiled the packages with CFLAGS="-B /usr/local/lib -I/usr/local/include". As far as I know, and the gcc info pages seems to agree, these too directories should be in the default search path. Is someone else experiencing this same problem? Is there a way to add these directories to the default path without resorting to these env variables or runtime switches? Note that I didnt changed anything from the default install, I even tried installing again to see if something went wrong. I searched the system for some config file but it turned to nothing... Thank your in advance and sorry for my bad english :)