From: Richard Hadsell <hadsell@blueskystudios.com>
To: law@cygnus.com
Cc: egcs@cygnus.com
Subject: Re: egcs-1.0.2 stuff
Date: Tue, 10 Feb 1998 09:57:00 -0000 [thread overview]
Message-ID: <34E07F82.58E@blueskystudios.com> (raw)
In-Reply-To: <14033.887096294@hurl.cygnus.com>
[egcs-1.0.1 can't find headers in -I./]
Jeffrey A Law wrote:
>
> Please send this as a context diff -- using line numbers like this isn't
> reliable. I'd also be interested to know what version of the compiler
> you made that diff from -- I think all explicit uses of '/' have been
> changed to DIR_SEPARATOR.
Here is the context diff:
7% diff -c cccp.c.orig cccp.c
*** cccp.c.orig Wed Oct 1 02:22:46 1997
--- cccp.c Fri Jan 30 15:34:47 1998
***************
*** 9812,9818 ****
len = simplify_filename (dir->fname);
/* Convert directory name to a prefix. */
! if (dir->fname[len - 1] != '/') {
if (len == 1 && dir->fname[len - 1] == '.')
len = 0;
else
--- 9812,9818 ----
len = simplify_filename (dir->fname);
/* Convert directory name to a prefix. */
! if (len && dir->fname[len - 1] != '/') {
if (len == 1 && dir->fname[len - 1] == '.')
len = 0;
else
And here is the compiler output from the original message:
39% ECC -v -I./ -c egcsbug2.cc
Reading specs from
/usr/local/lib/gcc-lib/alphaev5-unknown-linux-gnu/egcs-2.90.23/specs
gcc version egcs-2.90.23 980102 (egcs-1.0.1 release)
/usr/local/lib/gcc-lib/alphaev5-unknown-linux-gnu/egcs-2.90.23/cpp
-lang-c++ -v -I./ -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus
-D__GNUC_MINOR__=90 -D__alpha -D__alpha__ -D__linux__ -D__linux
-D_LONGLONG -Dlinux -Dunix -D__ELF__ -D__alpha -D__alpha__ -D__linux__
-D__linux -D_LONGLONG -D__linux__ -D__unix__ -D__ELF__ -D__linux
-D__unix -Asystem(linux) -Acpu(alpha) -Amachine(alpha) -D__EXCEPTIONS
-D__LANGUAGE_C__ -D__LANGUAGE_C -DLANGUAGE_C -D__LANGUAGE_C_PLUS_PLUS__
-D__LANGUAGE_C_PLUS_PLUS -D__cplusplus egcsbug2.cc /tmp/cca30792.ii
GNU CPP version egcs-2.90.23 980102 (egcs-1.0.1 release) (Alpha
Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
/
/usr/local/include/g++
/usr/local/include
/usr/local/alphaev5-unknown-linux-gnu/include
/usr/local/lib/gcc-lib/alphaev5-unknown-linux-gnu/egcs-2.90.23/include
/usr/include
End of search list.
egcsbug2.cc:2: egcsbug2.h: No such file or directory
loki1 studio++/tests 40% ECC -v -I. -c egcsbug2.cc
Reading specs from
/usr/local/lib/gcc-lib/alphaev5-unknown-linux-gnu/egcs-2.90.23/specs
gcc version egcs-2.90.23 980102 (egcs-1.0.1 release)
/usr/local/lib/gcc-lib/alphaev5-unknown-linux-gnu/egcs-2.90.23/cpp
-lang-c++ -v -I. -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus
-D__GNUC_MINOR__=90 -D__alpha -D__alpha__ -D__linux__ -D__linux
-D_LONGLONG -Dlinux -Dunix -D__ELF__ -D__alpha -D__alpha__ -D__linux__
-D__linux -D_LONGLONG -D__linux__ -D__unix__ -D__ELF__ -D__linux
-D__unix -Asystem(linux) -Acpu(alpha) -Amachine(alpha) -D__EXCEPTIONS
-D__LANGUAGE_C__ -D__LANGUAGE_C -DLANGUAGE_C -D__LANGUAGE_C_PLUS_PLUS__
-D__LANGUAGE_C_PLUS_PLUS -D__cplusplus egcsbug2.cc /tmp/cca30794.ii
GNU CPP version egcs-2.90.23 980102 (egcs-1.0.1 release) (Alpha
Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
.
/usr/local/include/g++
/usr/local/include
/usr/local/alphaev5-unknown-linux-gnu/include
/usr/local/lib/gcc-lib/alphaev5-unknown-linux-gnu/egcs-2.90.23/include
/usr/include
End of search list.
/usr/local/lib/gcc-lib/alphaev5-unknown-linux-gnu/egcs-2.90.23/cc1plus
/tmp/cca30794.ii -quiet -dumpbase egcsbug2.cc -version -o
/tmp/cca30794.s
GNU C++ version egcs-2.90.23 980102 (egcs-1.0.1 release)
(alphaev5-unknown-linux-gnu) compiled by GNU C version egcs-2.90.23
980102 (egcs-1.0.1 release).
as -nocpp -o egcsbug2.o /tmp/cca30794.s
--
Dick Hadsell 914-381-8400 Fax: 914-381-9790
Reply-to: hadsell@blueskystudios.com
Blue Sky | VIFX http://www.blueskystudios.com
1 South Road, Harrison, NY 10528
next prev parent reply other threads:[~1998-02-10 9:57 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-02-09 0:47 Jeffrey A Law
1998-02-09 14:46 ` Toon Moene
1998-02-10 0:53 ` Richard Henderson
1998-02-10 3:34 ` Richard Henderson
1998-02-10 10:30 ` Toon Moene
1998-02-11 0:45 ` Jeffrey A Law
1998-02-11 0:47 ` Jeffrey A Law
1998-02-10 3:34 ` Jeffrey A Law
1998-02-10 8:11 ` H.J. Lu
1998-02-10 9:57 ` Jeffrey A Law
1998-02-10 14:45 ` H.J. Lu
1998-02-09 15:33 ` Richard Hadsell
1998-02-09 23:36 ` Jeffrey A Law
1998-02-10 9:57 ` Richard Hadsell [this message]
1998-02-13 2:04 ` Jeffrey A Law
1998-02-09 21:34 ` Joern Rennecke
1998-02-09 23:36 ` Jeffrey A Law
1998-02-09 23:36 ` Jeffrey A Law
1998-02-14 9:23 ` Krister Walfridsson
1998-02-15 20:41 ` Jeffrey A Law
1998-02-09 14:46 Mike Stump
1998-02-09 21:34 ` Jeffrey A Law
1998-02-10 23:17 ` Alexandre Oliva
1998-02-10 23:17 ` Jeffrey A Law
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=34E07F82.58E@blueskystudios.com \
--to=hadsell@blueskystudios.com \
--cc=egcs@cygnus.com \
--cc=law@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).