Subject: pkg/20735: lang/gcc3 should build shared libraries under Linux
To: None <>
From: None <>
List: netbsd-bugs
Date: 03/15/2003 23:37:30
>Number:         20735
>Category:       pkg
>Synopsis:       lang/gcc3 should build shared libraries under Linux
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 15 23:38:00 PST 2003
>Release:        NetBSD 1.6
System: NetBSD 1.6 NetBSD 1.6 (JCR-20020927) #3: Sat Sep 28 13:40:20 PDT 2002 i386
Architecture: i386
Machine: i386
I've been using lang/gcc3 on a few Linux systems for all my compiling needs.
But I noticed that bash and less needed which didn't exist.
I noticed that a change to lang/gcc3 in January stopped the building
of the shared libraries.
Use the gcc3 to build shells/bash and see that it needs the
non-existing shared library. (This is under Linux.)

diff -b -u -r1.5 Makefile
--- lang/gcc3/Makefile	2003/02/06 21:52:19	1.5
+++ lang/gcc3/Makefile	2003/03/16 07:33:04
@@ -30,7 +30,7 @@
 .include "../../mk/"
-.if ${OPSYS} == "NetBSD"
+.if ${OPSYS} == "NetBSD" || ${OPSYS} == "Linux"
 CONFIGURE_ARGS+=	--enable-shared
 CONFIGURE_ARGS+=	--disable-shared