public inbox for
 help / color / mirror / Atom feed
From: Charlie McDowell <>
Subject: Re: solaris cpp problem
Date: Sat, 01 Apr 2000 00:00:00 -0000	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

I have deteremined that the cpp I am using is not happy with the way the
-MD option is passed.
The cpp command that is being executed is something like:

cpp  -I. -I../../../libgcj-2.95.1/libjava -I./include -Iinclude
-I../../../libgcj-2.95.1/libjava/../boehm-gc -I./../boehm-gc
-I../../../libgcj-2.95.1/libjava/../zlib -D__GNUC__=2 -D__GNUG__=2
-D__GNUC_MINOR__=95 -D__cplusplus -Dsparc -Dsun -Dunix -D__svr4__
-D__SVR4 -D__sparc__ -D__sun__ -D__unix__ -D__svr4__ -D__SVR4 -D__sparc
-D__sun -D__unix '-Asystem(unix)' '-Asystem(svr4)' -D__EXCEPTIONS
-D__OPTIMIZE__ -g -W -Wall -D__GCC_NEW_VARARGS__ '-Acpu(sparc)'
'-Amachine(sparc)' -DHAVE_CONFIG_H -DSILENT=1 -DNO_SIGNALS=1
../../../libgcj-2.95.1/libjava/ tempoutputfile

It seems that my cpp was confused and used somepathfilename as the input
file and ../.../ as the output
file thus seeing tempoutputfile as some unknown input file hence the
error message "too many input files".

To confirm here is my cpp -v

sundance>cpp -v
Reading specs from

gcc version 2.95.1 19990816 (release)

I followed your advice and eliminated the -Wp,-MD option. That made
significant progress but failed with:

ld: fatal: file crti.o: open failed: No such file or directory
make[1]: *** [] Error 1
make[1]: Leaving directory

I should also note that there were a number of warnings from the c++
commands (without the -Wp,-MD)
warning about linker output not used or some such (I can get the exact
wording if it is important).

I'd appreciate advice on how to proceed from here, and maybe someone can
point out (with the added info
above) why my cpp isn't working as it apparently is expected to work.

Charlie McDowell, Professor   (831) 459-4772 (w)
Computer Science Department       (831) 427-2076 (h)
239 Baskin Engineering                          (831) 459-4829 (fax)
Univ. of Calif., Santa Cruz, CA 95064

       reply	other threads:[~2000-04-01  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <>
     [not found] ` <>
2000-04-01  0:00   ` Charlie McDowell [this message]
2000-04-01  0:00   ` Charlie McDowell
2000-04-01  0:00     ` Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).