🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #50928

Re: gcc is not dynamically linked

#50928
From: Steven K. Shaw
Date: Tue, 27 Jul 1993 13:45
24 lines
1604 bytes
In article 22ka8gINNpee@gap.caltech.edu, derway@cco.caltech.edu (D. Erway) writes:
>In article <CAHnt4.FBt@cbnewse.cb.att.com> shaw@iexist.att.com writes:
>>In the process compiling gcc 2.4.5 on SunOS 4.1.3 for Sparcs,
>>gcc always turns out to be non dynamically linked object code.
>>If we use this gcc to compile other C code, we get non dynamically
>>link object code, which has much bigger size due to the static link.
>
>Make sure that you are not using gnu ld. Under sunos, it cannot do dynamically
>linked shared libraries. You are much better off using sun's ld.
>
>gcc seems to go to great lengths to find gnu ld if it can. You will really
>have to hide it or get rid of it.
>
>	-Don

Absolutely!!!

By resetting the PATH is not enough. I think the make procedure uses the --prefix
information to allocate GNU ld. I had to rename GNU ld to ld.not in several places
under prefix directory.

Thanks for the help.

Steve
Technical Details
Message-ID: <CAtswH.M9J@cbnewse.cb.att.com>
Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!mcsun!uunet!usc!rutgers!att-out!cbnewsh!cbnewse!latrobe!shaw
References: <22ka8gINNpee@gap.caltech.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,c9db7aaa16372b31
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-07-27 20:08:04 PST
Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!mcsun!uunet!usc!rutgers!att-out!cbnewsh!cbnewse!latrobe!shaw
From: shaw@iexist.att.com (Steven K. Shaw)
Newsgroups: gnu.gcc.help
Subject: Re: gcc is not dynamically linked
Message-ID: <CAtswH.M9J@cbnewse.cb.att.com>
Date: 27 Jul 93 13:45:53 GMT
References: <22ka8gINNpee@gap.caltech.edu>
Sender: news@cbnewse.cb.att.com (NetNews Administrator)
Reply-To: shaw@iexist.att.com
Organization: AT&T
Lines: 24
Nntp-Posting-Host: latrobe.flw.att.com