🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #56484

Solved: large binaries with gcc 2.7.2.1

#56484
From: Graham Daveney
Date: Wed, 26 Feb 1997 00:00
25 lines
1654 bytes
Hi Guys,

few days ago I posted saying that I was having problems since I upgraded to
gcc 2.7.2.1 and libc-5.4.23.

Problem was that I was getting huge binaries, after some help from kind people
I found that my binaries were being statically linked. This led me to believe
that there was some problem with gcc finding the correct libraries.

After some mucking around with ldconfig, I had a brainwave to read the 
release.gcc-5.4.23 and it said that I needed an ld.so-1.8.1 or higher. Anway, I
got ahold of ld.so-1.8.9.

Running the newer ldconfig told me that there was problems with symlinks libc
and libm in the /usr/lib directories. Strange that ldconfig for ld.so-1.7.14
didnt pick that one up.

Anyway, I fixed the symlinks in /usr/lib and everything is compiling dynamically
now.


Thanks
Graham
graham@daveney.matra.com.au
Technical Details
Message-ID: <5f121d$hn8@news.mel.aone.net.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,eaedcc8522b2ab50,start
X-Google-Attributes: gid11318c,public
X-Google-Thread: 1103af,eaedcc8522b2ab50,start
X-Google-Attributes: gid1103af,public
X-Google-Thread: 100b1f,eaedcc8522b2ab50,start
X-Google-Attributes: gid100b1f,public
X-Google-Thread: 102983,eaedcc8522b2ab50,start
X-Google-Attributes: gid102983,public
From: daveney@altus.speednet.com.au (Graham Daveney)
Subject: Solved: large binaries with gcc 2.7.2.1
Date: 1997/02/26
Message-ID: <5f121d$hn8@news.mel.aone.net.au>
X-Deja-AN: 221531561
Summary: Got it working
Organization: Customer of Access One Pty Ltd, Melbourne, Australia
Reply-To: graham@daveney.matra.com.au
Newsgroups: aus.computers.linux,gnu.gcc.help,comp.os.linux.misc,comp.os.linux.help