Hello, here's where cpp died. There's a small error in freebsd.h: INCLUDE_DEFAULTS array defined in a wrong way (patch attached). Now cpp doesn't die anymore. There's an another problem, though. For somereason libgcc doesn't want to compile with base c++ (conflict in "new", it seems). It does compile if COMPILER_PATH is set to uitilize a newly compiled c++ and cc1plus, but it takes addition CFLAGS+= -I${GCCDIR}/cp/inc to gnu/usr.bin/cc/Makefile.inc. Then everything builds indeed.
BTW, binaries compiled with egcc are still larger than with stock gcc. Is there a way to shrink them (beyond what's possible with -O optimisation)? On Thu, 11 Mar 1999, David O'Brien wrote: > > How's this going? > > Everything now builds, and I can pass the C++ STL tests supplied with > EGCS. > > There is at least one case w/in gnu/usr.bin/cc that ``make cleandir && > make cleandir && make obj && make depend && make && make clean && make'' > will file to build. But I haven't worried too much about that yet. > > The biggest problem is that ``cpp'' will get a sig11 when executed by > c++. If I use ``c++ -v'' and manually execute what c++ is, I don't get > the sig11. I got tired of trying to track this down, so to get around > this (so I could work on libstdc++), I copy ``cpp'' into /usr/libexec > from a copy of an installed EGCS port. > > The version in my repository is EGCS 1.1.2-pre3. Rumors have it that > 1.1.2 will released on Friday, and by Monday at the latest. Regards, Vladimir ===========================|======================= Vladimir Kushnir | ku...@mail.kar.net, | Powered by FreeBSD kush...@ap3.bitp.kiev.ua |
*** freebsd.h.orig Sat Mar 13 23:20:27 1999 --- freebsd.h Wed Mar 10 23:22:32 1999 *************** *** 259,267 **** #ifdef FREEBSD_NATIVE #define INCLUDE_DEFAULTS { \ ! { "/usr/include", 0, 0 }, \ ! { "/usr/include/g++", 1, 1 }, \ ! { 0, 0, 0} \ } #undef MD_EXEC_PREFIX --- 259,267 ---- #ifdef FREEBSD_NATIVE #define INCLUDE_DEFAULTS { \ ! { "/usr/include", 0, 0, 0 }, \ ! { "/usr/include/g++", "G++", 1, 1 }, \ ! { 0, 0, 0, 0} \ } #undef MD_EXEC_PREFIX