Thread View: gnu.g++.bug
1 messages
1 total messages
Started by Gordon Joly
Mon, 24 Apr 1989 13:46
More Confusion (in my brain).
Author: Gordon Joly
Date: Mon, 24 Apr 1989 13:46
Date: Mon, 24 Apr 1989 13:46
30 lines
1890 bytes
1890 bytes
I find this in the texinfo on gcc and g++.
> `-static'
> On Suns running version 4, this prevents linking with the shared
> libraries. (`-g' has the same effect.)
In the Makefile for g++ 1.35.0- I find
# Note: If you have SunOS 4.0, you can't use GNU LD to link programs
# which use shared libraries. You could add -DNO_GNU_LD to this
# command line, but be warned that collect is not really powerful
# enough to do right by all C++ static constructors, and it would
# be better if you could just add support to GNU LD to handle
# shared libraries.
So the `-static' is wasted in g++, since all images will load statically. Should
use /bin/ld for dynamic linking, which is useful for production versions.
Also, where does newld fit into the scheme of things? And crt0+.o?
Gordon.
Surface mail: Dr. G.C.Joly, Department of Statistical Science,
University College London, Gower Street, LONDON WC1E 6BT, U.K.
E-mail: | Tel: +44 1 387 7050
JANET (U.K. network) gordon@uk.ac.ucl.stats | extension 3636
(Arpa/Internet form: gordon@stats.ucl.ac.uk)| FAX: +44 1 387 8057
Relays: ARPA @nsfnet-relay.ac.uk |
EAN: @ean-relay.ac.uk |
CSNET: %nsfnet-relay.ac.uk@relay.cs.net |
BITNET: %ukacrl.bitnet@cunyvm.cuny.edu, @ac.uk
EARN: @ukacrl.bitnet, @AC.UK, @uk.ac.earn-relay
By uucp/Usenet: ....!uunet!mcvax!ukc!stats.ucl.ac.uk!gordon
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads