www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/11/07/13:17:08

Date: Mon, 07 Nov 1994 08:00:15 -0500 (CDT)
From: Aaron Ucko <UCKO AT VAX1 DOT ROCKHURST DOT EDU>
Subject: Re: syntax of lib/specs
To: dliu AT faraday-gw DOT njit DOT edu
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Organization: Rockhurst College; Kansas City, MO

>Hi,
>
>I'm wondering where is the syntax of lib/specs documented, I greped
>through gcc.info and didn't find it. To be specific, I want to specify
>different include directories for c and c++, I added
>
>%{lang-c++ -I/my-c++-include-dir}%{*: -I/my-c-include-dir} 
>
>after "*cpp" in the file "specs", but "-I/my-c++-include-dir" was not
>used when I compile c++ programs.

Just add /my-cpp-include-dir to your CPLUS_INCLUDE_PATH (sp?) in djgpp.env.

--- Aaron Ucko (ucko AT vax1 DOT rockhurst DOT edu; finger for PGP public key) -=- httyp!
-=*=-Just because you're paranoid doesn't mean they aren't out to get you.-=*=-
Geek code 2.1 [finger hayden AT vax1 DOT mankato DOT msus DOT edu for explanation]: 
 GCS/M/S d(-) H s g+ p? !au a-- w+ v+ C++(+++)>++++ U-(S+)>++++ P+ L>++ 3(-) 
 E-(----) !N>++ K- W(--) M-(--) V(--) po-(--) Y+(++) t(+) !5 j R G tv--(-) 
 b+++ !D(--) B--(---) e>++++(*) u++(@) h!() f(+) r-(--)>+++ n+(-) y?

- Raw text -


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