Article View: gnu.gcc.help
Article #50670Compiling gcc on Sequent
From: Jeremy G. Mereness
Date: Fri, 03 Sep 1993 15:24
Date: Fri, 03 Sep 1993 15:24
43 lines
2530 bytes
2530 bytes
I am compiling gcc 2.4.5 on a Sequent Symmetry machine running Dynix/PTX
2.0.3. The source is ./configured for i386-sequent-sysv3.
Providing I use every native compatibility mode available to the native
compiler, everything seems to work out okay until the make starts
testing the newly compiled xgcc image. It says...
ld crtend.o fatal: Can't open file crtn.o for input
when it tries to link enquire.
The only place where "crtn.o" shows up is in tm.h where it seems to
describe how crtbegin.o and crtend.o (which are produced just before
enquire.o tries to link) are supposed to be named crt1.o and crtn.o.
Obviously, the makefile is not renaming these .o files after compiling
them, whether on purpose or what.
What's going on? The appropriate lines in tm.h are the following:
/* Use crt1.o as a startup file and crtn.o as a closing file */
#define STARTFILE_SPEC \
"%{pg:gcrt1.o%s}%{!pg:%{posix:%{p:mcrtp1.o%s}%{!p:crtp1.o%s}}%{!posix:%{p:mcrt
1.o%s}%{!p:crt1.o%s}}} crtbegin.o%s\
%{p:-L/usr/lib/libp}%{pg:-L/usr/lib/libp}"
/* ??? There is a suggestion that -lg is needed here.
Does anyone know whether this is right? */
#define LIB_SPEC "%{posix:-lcposix} %{shlib:-lc_s} -lc crtend.o%s crtn.o%s"
Thanks for any help!
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|Jeremy Mereness zonker+@cmu.edu | Support \ Ye Olde Disclaimer: |
|Programmer/Analyst, FAST Program | Free \ The above represents my|
|GSIA - Carnegie Mellon University | Software \ opinions, alone. |
|B.S.Mechanical Engineering, CMU '92| NeXTMail Welcome\ Ya Gotta Love It. |
| Every Silver Lining's Got a Touch of Grey |
-----------------------------------------------------------------------------
Technical Details
Message-ID:
<8gVq6tm00iMSAADFFe@andrew.cmu.edu>Path:
arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!news.sei.cmu.edu!bb3.andrew.cmu.edu!andrew.cmu.edu!jm7e+Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,cf7c4f6e20cb950d,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-09-04 08:23:28 PST Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!news.sei.cmu.edu!bb3.andrew.cmu.edu!andrew.cmu.edu!jm7e+ From: "Jeremy G. Mereness" <zonker+@CMU.EDU> Newsgroups: gnu.gcc.help Subject: Compiling gcc on Sequent Date: Fri, 3 Sep 1993 11:24:41 -0400 Organization: Graduate School of Industrial Administr., Carnegie Mellon, Pittsburgh, PA Lines: 43 Message-ID: <8gVq6tm00iMSAADFFe@andrew.cmu.edu> NNTP-Posting-Host: po5.andrew.cmu.edu