Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!hellgate.utah.edu!caen!rphroy!tkacik From: tkacik@rphroy.uucp (Tom Tkacik) Newsgroups: comp.sys.att Subject: Re: Bnews & shared library (3B1) Message-ID: <38093@rphroy.UUCP> Date: 15 Nov 90 21:59:56 GMT References: <514@trux.UUCP> Sender: news@rphroy.UUCP Reply-To: tkacik@rphroy.uucp (Tom Tkacik) Organization: GM Research, Warren, Mi Lines: 27 In article <514@trux.UUCP>, car@trux.UUCP (Chris Rende) writes: |> I'd like to recompile the Bnews software using shared libraries and |> the stock cc. |> |> Could someone please post (or Email) the necessary info to do this? |> (i.e., a sample localize.sh would be great). The easiest way to compile any program with the shared libraries is to use shcc. This is a replacement for the cc command, and automatically links in the shared libraries. I have been using it as cc and forget the problems of the shared libraries. Being a neighbor of trux, I will mail it to you. Once you have it, just compile bnews normally, an you will end up with a much smaller executable. Forget trying to change the configuration files, it's a pain and is not necesssary. Using shcc can be a problem when trying to create Makefiles for the public. I have to remember to link in the shared libraries by hand:-(. Everybody should get shcc. -- Tom Tkacik ...uunet!edsews!rphroy!tkacik GM Research Labs tkacik@kyzyl.mi.org "I'm president of the United States, and I'm not going to eat anymore broccoli." --- George Bush