Hans Ulrich Niedermann <[EMAIL PROTECTED]> writes:

> I have found neither libstdc++ nor libgcc_s in any standard
> package. Is that correct?

It is correct, as I have just verified by building from CVS.

Therefore, I present the attached patch to the "root" package to fix
that. It creates a "libcxx.lrp" package containing libstdc++ and
libgcc_s.

Apply in src/bering-uclibc.

GruÃ,

Uli
Index: root/buildtool.cfg
===================================================================
RCS file: /cvsroot/leaf/src/bering-uclibc/apps/root/buildtool.cfg,v
retrieving revision 1.14
diff -u -3 -p -r1.14 buildtool.cfg
--- root/buildtool.cfg	18 Oct 2004 20:00:42 -0000	1.14
+++ root/buildtool.cfg	21 Jan 2005 01:36:05 -0000
@@ -502,5 +502,51 @@
 
 		</Contents>
 	</root>
+	<libcxx>
+		Help <<EOF
+		libcxx - C++ runtime libraries
+		Requires: root.lrp
+		LEAF package
+
+		This just contains the C++ runtime corresponding to the
+		root.lrp package.
+		EOF
+
+		<Permissions>
+			Files = 644
+			Directories = 755
+		</Permissions>
+		<Owner>
+			Files = root:root
+			Directories = root:root
+		</Owner>
+		<Contents>
+			<File>
+				Filename	= lib/libgcc_s.so.0.9.9
+				Source		= lib/libgcc_s.so.0.9.9
+				Type		= binary
+				Permissions	= 755
+			</File>
+			<File>
+				# We use the wildcard to work around a bug 
+				# around buildpacket.pl:752
+				Filename	= lib/
+				Source		= lib/libstdc*.so.5.0.5
+				Type		= binary
+				Permissions	= 755
+			</File>
+			<File>
+				Filename 	= lib/libstdc++.so.5
+				Target		= lib/libstdc++.so.5.0.5
+				Type		= link
+				Permissions	= 755
+			</File>
+			<File>
+				Filename 	= var/lib/lrpkg/libcxx.version
+				Target		= var/lib/lrpkg/root.version
+				Type		= link
+				Permissions = 755
+			</File>
+		</Contents>
+	</libcxx>
 </Package>
-	

Attachment: pgpfp1VmUx42U.pgp
Description: PGP signature

Reply via email to