public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
From: Charlie McDowell <charlie@cse.ucsc.edu>
To: java-discuss@sourceware.cygnus.com
Subject: Re: solaris cpp problem
Date: Sat, 01 Apr 2000 00:00:00 -0000	[thread overview]
Message-ID: <38B588BB.FCAFEDD@cse.ucsc.edu> (raw)
In-Reply-To: <200002241832.KAA26735@ferrule.cygnus.com>

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/include
-I../../../libgcj-2.95.1/libjava/../boehm-gc -I./../boehm-gc
-I../../../libgcj-2.95.1/libjava/../compat-include
-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
-DNO_DEBUGGING=1 -DJAVA_FINALIZATION=1 -DPIC  -MD somepathfilename
../../../libgcj-2.95.1/libjava/prims.cc tempoutputfile

It seems that my cpp was confused and used somepathfilename as the input
file and ../.../prims.cc 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
/projects/learning/usr/java/lib/gcc-lib/sparc-sun-solaris2.6/2.95.1/specs

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]: *** [libgcj.la] Error 1
make[1]: Leaving directory
`/projects/learning/usr/java/libgcj-objdir/sparc-sun-solaris2.6/libjava'

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
http://www.cse.ucsc.edu/~charlie


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

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <38B56F26.2D981C81@cse.ucsc.edu>
     [not found] ` <200002241832.KAA26735@ferrule.cygnus.com>
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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=38B588BB.FCAFEDD@cse.ucsc.edu \
    --to=charlie@cse.ucsc.edu \
    --cc=java-discuss@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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).