From: corinna DOT vinschen AT cityweb DOT de (Corinna Vinschen) Subject: Re: "specs" related problems 24 Dec 1998 23:20:24 -0800 Message-ID: <368312A3.2B39B015.cygnus.gnu-win32@cityweb.de> References: <199812241820 DOT MAA23802 AT modi DOT xraylith DOT wisc DOT edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Serguei DACHIAN , gnu-win32 AT cygnus DOT com If you wish to set the default include paths, you may change the *cpp line, e.g, to add /usr/local/include in case of cygwin, but not for mingw: original: --------- *cpp: -remap %(cpp_cpu) %{posix:-D_POSIX_SOURCE} %{!mno-cygwin:-D__CYGWIN32__ -D__CYGWIN__} %{mno-cygwin:-iwithprefixbefore include/mingw32 -D__MINGW32__=0.2} /usr/local/include added: ------------------------- *cpp: -remap %(cpp_cpu) %{posix:-D_POSIX_SOURCE} %{!mno-cygwin:-D__CYGWIN32__ -D__CYGWIN__ -I/usr/local/include} %{mno-cygwin:-iwithprefixbefore include/mingw32 -D__MINGW32__=0.2} If you take a look in the specs file, you will see, that it consists only of a few simple statements. This and the fact, that the file never was designed for user modification (as mentioned by Mumit), implies also a _very_ simple parser. Unfortunately, I haven't found a method, to get different search paths for different languages... Additional example: Add directory `./lib' to library search path in any case: original: --------- *lib: %{pg:-lgmon} %{!mno-cygwin:-lgcc -lcygwin} %{mno-cygwin:-lmingw32 -lmoldname -lcrtdll} %{mwindows:-luser32 -lgdi32 -lcomdlg32} -lkernel32 -ladvapi32 -lshell32 ../lib added: ------------ *lib: -L./lib %{pg:-lgmon} %{!mno-cygwin:-lgcc -lcygwin} %{mno-cygwin:-lmingw32 -lmoldname -lcrtdll} %{mwindows:-luser32 -lgdi32 -lcomdlg32} -lkernel32 -ladvapi32 -lshell32 Hope, this helps. Regards, Corinna - 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".