This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/11998] soft-float libstdc++ multilib fails to build
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Aug 2003 22:36:47 -0000
- Subject: [Bug bootstrap/11998] soft-float libstdc++ multilib fails to build
- References: <20030820212037.11998.dhazeghi@yahoo.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11998
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-08-20 22:36 -------
Dara could you try this patch (I think this will work, I have not tried it yet):
Index: t-netbsd
============================================================
=======
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/t-netbsd,v
retrieving revision 1.1
diff -u -d -b -w -u -p -r1.1 t-netbsd
--- t-netbsd 26 Nov 2002 00:05:07 -0000 1.1
+++ t-netbsd 20 Aug 2003 22:35:02 -0000
@@ -1,4 +1,16 @@
# Support for NetBSD PowerPC ELF targets (SVR4 ABI).
+# We want fine grained libraries, so use the new code to build the
+# floating point emulation libraries.
+FPBIT = fp-bit.c
+DPBIT = dp-bit.c
+
+dp-bit.c: $(srcdir)/config/fp-bit.c
+ cat $(srcdir)/config/fp-bit.c > dp-bit.c
+
+fp-bit.c: $(srcdir)/config/fp-bit.c
+ echo '#define FLOAT' > fp-bit.c
+ cat $(srcdir)/config/fp-bit.c >> fp-bit.c
+
LIB2FUNCS_EXTRA = tramp.S