I've put the bmake & contrib framework for EGCS at
ftp://ftp.nuxi.com/pub/FreeBSD/egcs
(ftp://ftp.nuxi.com/pub/FreeBSD/egcs/cvs is all you really need)
This is very rough work, but should help us towards our goal.
In there you will find a CVS tree under ``cvs''. This CVS tree
corresponds to /usr/src in that you will find "src/gnu/usr.bin/cc",
"src/gnu/lib/libstdc++", and "src/contrib/egcs".
Currently everything under src/gnu/usr.bin/cc builds and installs fine.
I've tested the resulting ``cc'' by building working kernels and large
parts of /usr/src. I have not yet tested a ``make world''. Everything
I've done is w/in the source tree building components. ``cc -elf''
works, ``cc -aout'' doesn't due at least to a path problem finding
crt0.o.
c++ builds, but is getting segfaults right now. I'll be looking into
that. src/gnu/lib/libstdc++ almost builds with ``make CXX=eg++'' where
``eg++'' is from the EGCS port.
Please remember to backup your existing:
/usr/bin/cc
/usr/libexec/
/usr/lib/libgcc*
/usr/lib/libg++*
/usr/lib/libstdc++*
/usr/include/g++/
If you play with ``make world'', you will probably want to disconnect
groff from the build until the c++ compiler is working properly.
I'll continue to update this cvs tree, so `ncftp3' with recursive get
(and only for changed files) is your friend.
--
-- David ([email protected] -or- [email protected])
To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-current" in the body of the message