From: hlu@yoda.eecs.wsu.edu (Hongjiu Lu -- Graduate Student)
Newsgroups: alt.os.linux,comp.os.linux
Subject: How to make shared libs and .a
Keywords: shared libs
Date: 15 Apr 92 05:19:29 GMT
Organization: Washington State University
Originator: hlu@yoda.eecs.wsu.edu

It seems gcc 2.1 is quite stable and we are moving toward to making it
the standard compiler for Linux. Here are the stuffs you need to
build the shared libs. Before you do anything, PLEASE READ README
FIRST. I'd like to see more and more programs be distributed in .a
format.

H.J.
--------CUT HERE---------------------
begin 644 shlib.tar.Z
M'YV0+E[,0<,FC9@7`!(J7,BPH<.'$"-*G$@1`(B+-VK4`&$1!(T8-F)PO$@2
MQDB2*"^:!%$CQ@T9-V;8@`%#QL48,&+,J&&19\6?0(,*'5IG#ITP<BX"(%AG
M:$0Y;][0<4JUJM6K6+-JM1IP8,&#7^64F?.&C9TR+L9L76N5I`T:-$Y^#'FR
M9%V4-FS,L,DR1@T:-VC(K+$RAHR_/$'`8,NXL<.B1Y-R9+H6JE3'F#-KWJQY
M#!JD(%04#7-F+)VD/4`H$!%V;-FS.BY*<6VV#(B!2,N0`1$6:1X08<B0$3MG
MSE@0:=S0>0."#IHR:9(:#4,GS1@0;=Z0J<-FK`L1J[FX`2_BXNC2.L235[\Z
M09LU9*(W;P.'O8@$8W;3H6\_@9LV(+Q0E!PO?%6@06.X$(8+TU5WG0\@_->@
M=?W]%Z"!O<F1QX%BX.%"'B[H`0*$$GXF%AG]M496;1&V@=N)(/#0XH1C]'?&
M&->U<)T*#-H(6@M)?95@&*&Y\(9Z.RB0@`(CD%&&&<G9]D453DR!1!!2%$'$
M%U-004023RC`9')CL%&'DS$:%=\;+J#A@YA-/ADE"$T$@04(.-$$@YA&R5''
M&'2`L(>2GH$6W'!CS;$%3ETDB9^)S>4!1QF.%II4&<IIN,5;C2K0QVTF*EHG
M%HTNJ8`=;Z2Q6QER0"4'"I:&UF<*"NQQ$1QUT#$'"K,F25(9>*1!!PHQI)!D
M'V(F%V@;822'@K+`R7$C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