delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/05/13/19:24:05

From: jont AT harlequin DOT co DOT uk (Jon Thackray)
Subject: Re: Picking up include directories automatically
13 May 1997 19:24:05 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <22755.9705131326.cygnus.gnu-win32@dedekind.cam.harlequin.co.uk>
References: <199705131054 DOT DAA29962 AT nz1 DOT netzone DOT com>
Original-To: "Mikey" <jeffdb AT netzone DOT com>
Original-Cc: "Jon Thackray" <jont AT harlequin DOT co DOT uk>, "cygnus" <gnu-win32 AT cygnus DOT com>
In-Reply-To: <199705131054.DAA29962@nz1.netzone.com>
Original-Sender: owner-gnu-win32 AT cygnus DOT com

jeffdb AT netzone DOT com writes:
 > I think you misunderstood the thrust of my message, if you
 > are willing to alter your specs file
 > you can have any include directories you want, just make sure
 > that the specs file you want to use is in the first directory searched
 > by gcc ie. export LIBRARY_PATH=/usr./lib will use the specs file from
 > /usr/lib
 > if there is one.
 > just make sure you DON'T have one in H-i386-cygwin32/lib/gcc-lib/etc...
 > cause that will get used first
 > so again in your specs file right under the line that says
 > *cpp:
 > put -I/your/include/dir
 > DON"T insert or delete any lines, just type the dirs you want on that
 > line.
 > if you want to exclude all of the system dirs add -nostdinc, then gcc cpp
 > and cc1 will
 > only search in the dirs you specify.
 > see the gcc man page or info page preprocessor options for more info.

Hmm, the gcc man page doesn't seem to tell me anything about how to
edit this file, and info doesn't have anything on gcc. Can somebody
tell me exactly how to edit this file? The current contents
(presumably the default) are:-
.....
*cpp:
%(cpp_cpu) %[cpp_cpu] %{posix:-D_POSIX_SOURCE}

*cc1
.....
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019