This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gcc 3.0.1 does not work on Solaris 8/sparc
- To: gcc at gcc dot gnu dot org
- Subject: gcc 3.0.1 does not work on Solaris 8/sparc
- From: Hubert Feyrer <hubert dot feyrer at informatik dot fh-regensburg dot de>
- Date: Thu, 6 Sep 2001 15:17:13 +0200 (MET DST)
I have tried building latest gcc (3.0.1, and also -current CVS checkout),
with little success. The C compiler compiles, but libstdc++ blows up.
The patch attached below works around the (known broken!) problem of "ln
-s -f" not working in Solaris by doing an explicit 'rm' first.
Before I drop gcc >3.0 into the dustbin now, let me tell you I'm very
disappointed by the state this is in. Having used (and installed) gcc for
many years (>8) on Sun systems now, seeing the state of gcc 3.0.1 makes me
wonder where the quality of all this went to. GCC used to work/compile out
of the box on a Solaris machine. Seems that's no longer the case.
- Hubert
Index: include/Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/Makefile.in,v
retrieving revision 1.12
diff -u -r1.12 Makefile.in
--- Makefile.in 2001/09/05 22:38:05 1.12
+++ Makefile.in 2001/09/06 12:24:43
@@ -525,35 +525,55 @@
@if [ ! -d "${std_builddir}" ]; then \
mkdir -p ${std_builddir} ;\
fi ;\
- (cd ${std_builddir} && @LN_S@ $? .) ;\
+ (cd ${std_builddir}; \
+ for i in $? ; do \
+ rm -f `basename $$i` ; \
+ @LN_S@ $$i . ; \
+ done ) ;\
echo `date` > stamp-std
stamp-bits: ${bits_headers}
@if [ ! -d "${bits_builddir}" ]; then \
mkdir -p ${bits_builddir} ;\
fi ;\
- (cd ${bits_builddir} && @LN_S@ $? .) ;\
+ (cd ${bits_builddir}; \
+ for i in $? ; do \
+ rm -f `basename $$i` ; \
+ @LN_S@ $$i . ; \
+ done ) ;\
echo `date` > stamp-bits
stamp-c_base: ${c_base_headers}
@if [ ! -d "${c_base_builddir}" ]; then \
mkdir -p ${c_base_builddir} ;\
fi ;\
- (cd ${c_base_builddir} && @LN_S@ $? .) ;\
+ (cd ${c_base_builddir}; \
+ for i in $? ; do \
+ rm -f `basename $$i` ; \
+ @LN_S@ $$i . ; \
+ done ) ;\
echo `date` > stamp-c_base
stamp-backward: ${backward_headers}
@if [ ! -d "${backward_builddir}" ]; then \
mkdir -p ${backward_builddir} ;\
fi ;\
- (cd ${backward_builddir} && @LN_S@ $? .) ;\
+ (cd ${backward_builddir}; \
+ for i in $? ; do \
+ rm -f `basename $$i` ; \
+ ln -s $$i . ; \
+ done ) ;\
echo `date` > stamp-backward
stamp-ext: ${ext_headers}
@if [ ! -d "${ext_builddir}" ]; then \
mkdir -p ${ext_builddir} ;\
fi ;\
- (cd ${ext_builddir} && @LN_S@ $? .) ;\
+ (cd ${ext_builddir}; \
+ for i in $? ; do \
+ rm -f `basename $$i` ; \
+ @LN_S@ $$i . ; \
+ done ) ;\
echo `date` > stamp-ext
# This target is special. The timestamp on a directory gets modified
--
Want to get a clue on IPv6 but don't know where to start? Try this:
* Basics -> http://www.onlamp.com/pub/a/onlamp/2001/05/24/ipv6_tutorial.html
* Setup -> http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6_tutorial.html
Of course with your #1 IPv6 ready operating system -> http://www.NetBSD.org/