Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Feb 1995 13:11:17 -0800 (PST)
From:      "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com>
To:        nate@trout.sri.MT.net (Nate Williams)
Cc:        ache@astral.msk.su, freebsd-current@freefall.cdrom.com
Subject:   Re: Alternate solution for libcompat
Message-ID:  <199502202111.NAA20022@gndrsh.aac.dev.com>
In-Reply-To: <199502202031.NAA07242@trout.sri.MT.net> from "Nate Williams" at Feb 20, 95 01:31:32 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> > 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199502202111.NAA20022>