From owner-freebsd-questions Fri Apr 3 02:02:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA08341 for freebsd-questions-outgoing; Fri, 3 Apr 1998 02:02:56 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from top.worldcontrol.com (surf52.cruzers.com [205.215.232.52]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id CAA08332 for ; Fri, 3 Apr 1998 02:02:50 -0800 (PST) (envelope-from brian@litzinger.com) From: brian@litzinger.com Received: (qmail 905 invoked by uid 100); 3 Apr 1998 10:03:57 -0000 Message-ID: <19980403020352.A765@top.worldcontrol.com> Date: Fri, 3 Apr 1998 02:03:52 -0800 To: "Larry S. Marso" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: cpp: Invalid option `-L/usr/local/lib' Mail-Followup-To: "Larry S. Marso" , freebsd-questions@freebsd.org References: <19980402220415.44396@marso.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.90.11i In-Reply-To: <19980402220415.44396@marso.com>; from Larry S. Marso on Thu, Apr 02, 1998 at 10:04:15PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On %M 0, "Larry S. Marso" wrote: > This error message comes up in a number of contexts. > > cpp: Invalid option `-L/usr/local/lib' > > Including failure to compile the kernel, and when I bring up X. > > What does it mean? cpp is the C compiler preprocessor. Much of C programs are made up of macros which are expanded to real C code by cpp. gcc silently runs cpp to do the macro expansion for it. (you can watch gcc invoke cpp by including the option '-v' when running gcc.) cpp does not care about linker related issues such as 'where to look for libs', so they should not be being passed to it. -- Brian Litzinger To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message