This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Help with specs
- From: "DY, JERRY U \(SBCSI\)" <jd2419 at sbc dot com>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Mon, 16 Aug 2004 12:24:11 -0700
- Subject: Help with specs
Here's my config:
g++ -v
Reading specs from
/usr/local/appl/gcc-3.4.1/lib/gcc/hppa2.0w-hp-hpux11.11/3.4.1/specs
Configured with: ../gcc-3.4.1/configure --prefix=/usr/local/appl/gcc
--with-as=/usr/local/appl/binutils/bin/as --enable-threa
ds=posix
Thread model: posix
gcc version 3.4.1
I wanted to change the specs so that -D_INCLUDE__STDC_A1_SOURCE is
defined everytime the precompiler is invoked, so I modify the cpp entry
in the specs file as follows:
*cpp:
-D_INCLUDE__STDC_A1_SOURCE %{mt|pthread:-D_REENTRANT -D_THREAD_SAFE
-D_POSIX_C_SOURCE=199506L}
But it doesn't appear to be working. Is there something wrong with my
syntax or am I missing something? Thanks!
-Jerry