Article View: latrobe.linux
Article #11Re: gcc compiling statically
From: Bob Hauck
Date: Tue, 18 Feb 1997 00:00
Date: Tue, 18 Feb 1997 00:00
21 lines
1428 bytes
1428 bytes
In article <5e4lr7$bjo@lion.cs.latrobe.edu.au>, stiebelm@lion.cs.latrobe.edu.au (Mark W Stiebel) writes: > I went through upgrading all packages suggested in the kernel > v2.1.24 Changes file the other, and upgraded the following.. > ld.so,binutils,libc,gcc to the recommended. > > Now, whenever compiling anything, gcc defaults to compiling > statically. You need to make some symlinks. The new linker does not look for libABC.so.x.y.z, but only for libABC.so when linking shared libs. Just ln -s libABC.so.x.y.z libABC.so. This one bit me too. It's in the docs somewhere, but is not real obvious. --- Bob Hauck bobh@wasatch.com Wasatch Communications Group http://www.wasatch.com
Technical Details
Message-ID:
<5ed2qg$snt@twin.wasatch.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<5e4lr7$bjo@lion.cs.latrobe.edu.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 135ade,c21d82213f523a5 X-Google-Attributes: gid135ade,public X-Google-Thread: 1103af,c21d82213f523a5 X-Google-Attributes: gid1103af,public X-Google-Thread: 102983,c21d82213f523a5 X-Google-Attributes: gid102983,public From: bobh@wasatch.com (Bob Hauck) Subject: Re: gcc compiling statically Date: 1997/02/18 Message-ID: <5ed2qg$snt@twin.wasatch.com> X-Deja-AN: 219689482 References: <5e4lr7$bjo@lion.cs.latrobe.edu.au> Content-Type: text/plain; charset=us-ascii Organization: Wasatch Communications Mime-Version: 1.0 Newsgroups: latrobe.linux,comp.os.linux.misc,aus.computers.linux