Article View: gnu.gcc.help
Article #50119Re: GCC sorting options to ld.
From: Marty Leisner 25733
Date: Sun, 14 Nov 1993 19:18
Date: Sun, 14 Nov 1993 19:18
23 lines
1510 bytes
1510 bytes
Chris Atkins (chris@ods.com) wrote: : How do you keep GCC from sorting the options sent to the loader. I would like : to have a combination of static and dynamically linked objects in my : executable and when gcc sorts the ld options, I loose control of which objects : get linked static/dynamic. I am using gcc2.4.0 on a solaris 2.2 system. : Chris Atkins : chris@bto.ods.com Yes, I know about this problem...it exists on 2.4.5... Certain combinations of X libraries and SunOS 4.1.x versions caused problems, so to get around it, you had to do: gcc objects -lgood -Bstatic Is it fixed for 2.5.3 (it'll give me something to look at ;-)) -- marty leisner@sdsp.mc.xerox.com leisner.henr801c@xerox.com Member of the League for Programming Freedom "I just know I'm a better manager when I have Joe DiMaggio in center field" -- Casey Stengel
Technical Details
Message-ID:
<1993Nov14.191859.2532@spectrum.xerox.com>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!spool.mu.edu!olivea!sgigate.sgi.com!rutgers!rochester!rocksanne!draco!leisnerReferences:
<1993Nov9.034849.6181@ods.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,b930d6404d74eac4 X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-11-14 18:53:44 PST Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!spool.mu.edu!olivea!sgigate.sgi.com!rutgers!rochester!rocksanne!draco!leisner From: leisner@draco (Marty Leisner 25733) Newsgroups: gnu.gcc.help Subject: Re: GCC sorting options to ld. Message-ID: <1993Nov14.191859.2532@spectrum.xerox.com> Date: 14 Nov 93 19:18:59 GMT References: <1993Nov9.034849.6181@ods.com> Sender: news@spectrum.xerox.com Organization: Xerox Lines: 23 X-Newsreader: TIN [version 1.2 PL2]