www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/11/07/01:50:31

Date: Sun, 6 Nov 94 22:47:37 EST
From: dliu AT faraday-gw DOT njit DOT edu (Dong Liu)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: syntax of lib/specs
Mailer: VM 5.32 (beta) for GNU Emacs 18.59.5

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.

Thanks

--
Dong Liu  <dliu AT ace DOT njit DOT edu>
Electrical and Computer Engineering Department
New Jersey Institute of Technology, Newark, NJ 07102

- Raw text -


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