This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

bug?: wrong internal call of cpp (980308 snapshot)


Struggling with the problem of weak symbol linking and 
one internal compiler error in egcs-1.01 I tried to 
use the snapshot 980308 instead.
I ran the build with --enable-shared on a SunOS 4.1.4 machine.
After applying the final.c-patch the build worked fine.
The compiler does show strange behaviour though: unlike in
earlier snapshots it tries to call cpp without giving 
the full path:

/egcs-install-path/bin/g++ -v ex01-01a.cpp 
Using builtin specs.
gcc version egcs-2.91.13 980308 (gcc-2.8.0 release)
 cpp -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus
-D__GNUC_MINOR__=91 -Dsparc -Dsun -Dunix -D__sparc__ -D__sun__
-D__unix__ -D__sparc -D__sun -D__unix -Asystem(unix) -Asystem(bsd)
-D__EXCEPTIONS -D__GCC_NEW_VARARGS__ -Acpu(sparc) -Amachine(sparc)
ex01-01a.cpp /usr/tmp/cca14167.ii
g++: installation problem, cannot exec `cpp': No such file or directory

Is there a patch for this?

Johann


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]