egcs-1.0.2 stuff
Richard Hadsell
hadsell@blueskystudios.com
Tue Feb 10 09:57:00 GMT 1998
[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
More information about the Gcc
mailing list