From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199703260020.RAA07691@ellpspace.math.ualberta.ca> Date: Tue, 25 Mar 1997 17:20:53 -0700 (MST) From: Michal Jaegermann Subject: Re: Linux/Alpha vs Linux/Intel... In-Reply-To: <199703252345.RAA01577@stommel.tamu.edu> > > > You can create a shared library from a static library like so: > > gcc -shared -o libfoo.so -Wl,--whole-archive libfoo.a -Wl,--no-whole-archive Does that really work? I thought that shared libraries need to contain a position independent code, so you need some extra flags, like -fpic or -fPIC, when compiling .o files. Or this does not matter in the particular case of xemacs? If the above is generally ok then this is good to know for the future. :-) Michal -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com