From owner-freebsd-current Mon Feb 20 13:12:33 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id NAA08126 for current-outgoing; Mon, 20 Feb 1995 13:12:33 -0800 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id NAA08098 for ; Mon, 20 Feb 1995 13:12:24 -0800 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.8/8.6.6) id NAA20022; Mon, 20 Feb 1995 13:11:17 -0800 From: "Rodney W. Grimes" Message-Id: <199502202111.NAA20022@gndrsh.aac.dev.com> Subject: Re: Alternate solution for libcompat To: nate@trout.sri.MT.net (Nate Williams) Date: Mon, 20 Feb 1995 13:11:17 -0800 (PST) Cc: ache@astral.msk.su, freebsd-current@freefall.cdrom.com In-Reply-To: <199502202031.NAA07242@trout.sri.MT.net> from "Nate Williams" at Feb 20, 95 01:31:32 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 2904 Sender: current-owner@FreeBSD.org Precedence: bulk > > > Look at libcompat structure, it is well separated, > > maybe it will be nice to make several libcompats from tree, > > i.e. libcompat4.3, libcompat4.4, libregexp, etc. > > We easily avoid conflict pointed by nate in this case. > > Yuck! The purpose of libcompat is to provide *old* interfaces to > programs that haven't yet been updated. We are making this *way* more > complicated than it needs to be. The current setup w/out the shlib will > work, and it's easy to program for and understand. By adding lots of > 'compat' libraries it gets very complicated. > > Also, the programs that need -lcompat *should* be updated to use the > newer functions, and by leaving libcompat as the junk library, it let's > the programmer who uses them know that those interfaces will go away in > the next major revision of the OS. (Ex: FreeBSD 3.0 *grin*) Some one had better get to work on some of the code then: hookturn:rgrimes {156} find . -name Makefile | xargs grep lcompat ./games/atc/Makefile:LDADD= -ll -lm -lcurses -ltermcap -lcompat ./games/backgammon/backgammon/Makefile:LDADD= -ltermcap -lcompat ./games/backgammon/teachgammon/Makefile:LDADD= -ltermcap -lcompat ./games/battlestar/Makefile:LDADD= -lcurses -ltermcap -lcompat ./games/canfield/canfield/Makefile:LDADD= -lcurses -ltermcap -lcompat ./games/cribbage/Makefile:LDADD= -lcurses -ltermcap -lcompat ./games/fortune/fortune/Makefile:LDADD= -lcompat ./games/hack/Makefile:LDADD= -ltermcap -lcompat ./games/hangman/Makefile:LDADD= -lcurses -ltermcap -lcompat ./games/larn/Makefile:LDADD= -ltermcap -lcompat ./games/mille/Makefile:LDADD= -lcurses -ltermcap -lcompat ./games/phantasia/Makefile:LDADD= -lm -lcurses -ltermcap -lcompat ./games/rain/Makefile:LDADD= -ltermcap -lcompat ./games/robots/Makefile:LDADD= -lcurses -ltermcap -lcompat ./games/rogue/Makefile:LDADD= -lcurses -ltermcap -lcompat ./games/sail/Makefile:LDADD= -lcurses -ltermcap -lcompat ./games/snake/snake/Makefile:LDADD= -lm -ltermcap -lcompat ./games/trek/Makefile:LDADD= -lm -lcompat ./games/worm/Makefile:LDADD= -lcurses -ltermcap -lcompat ./games/worms/Makefile:LDADD= -lcurses -ltermcap -lcompat ./gnu/lib/libg++/Makefile:LDADD+= -lcurses -lcompat ./gnu/usr.bin/gdb/gdb/Makefile:LDADD+= -lcompat ./sbin/mount_portal/Makefile:LDADD= -lcompat ./usr.bin/more/Makefile:LDADD= -ltermcap -lcompat ./usr.bin/msgs/Makefile:LDADD= -ltermcap -lcompat ./usr.bin/rdist/Makefile:LDADD= -lcompat ./usr.bin/talk/Makefile:LDADD= -lcurses -ltermcap -lcompat ./usr.sbin/XNSrouted/Makefile:LDADD= -lcompat ./usr.sbin/routed/Makefile:LDADD= -lcompat hookturn:rgrimes {157} Hummmm.. mount_portal, what where them there programmers thinking :-( -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD