Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!YAHI.STANFORD.EDU!tiemann From: tiemann@YAHI.STANFORD.EDU (Michael Tiemann) Newsgroups: gnu.g++.bug Subject: g++ on sun3-nfp-os4 Message-ID: <8905190303.AA09877@yahi.stanford.edu> Date: 19 May 89 03:03:44 GMT References: <8905190013.AA21727@pawl.rpi.edu> Sender: daemon@tut.cis.ohio-state.edu Reply-To: tiemann@lurch.stanford.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 13 I meant to put something in the HINTS file about this, but I must have forgotten. The default LINK_SPEC in gcc.c tells the linker to link with crt0+.o. Many machine-specific files define their own LINK_SPECs. A strategy which worked until tm-sun?-nfp-os? came along was to edit the tm-*.h file into tm-*+.h, and replace the string "crt0.o" with "crt0+.o". This strategy is defeated with one tm-*.h file includes a file defining LINK_SPEC. I will fix this in release 1.35.1. In the mean time, copy LINK_SPEC from the file that is being included, #undef it and redef it in the top level tm-*.h file. Sorry, Michael