Article View: gnu.gcc.help
Article #956building gcc under SCO
From: James Vincent
Date: Tue, 02 Nov 1993 23:16
Date: Tue, 02 Nov 1993 23:16
42 lines
2478 bytes
2478 bytes
This is not the person whose account this is being posted from, this is actually rpjday@cuug.ab.ca. I have recently posted a number of messages regarding building gcc and the gcc runtime libs under SCO. However, it seems that a number of those messages did not make it off the local host in Calgary, so I am going to summarize where I am now. Any further advice would be thoroughly appreciated. I have built both gcc-2.4.5 and glibc-1.06.2 (so I have a libc.a). These have been installed in the usual places under /usr/local. If I try to "gcc hello.c", I get an error message of the form ld: Cannot locate crt1.o or something to that effect, as I am doing this from memory. I can get around this problem by creating an executable in two steps: $ gcc -c hello.c $ ld hello.o /usr/local/lib/libc.a I would, of course, prefer gcc to find this library by itself. Therefore, I have two choices: 1) Deal with the missing crt*.o files (gcc builds the files crtbegin.o and crtend.o -- should I rename them and move them or what?) 2) Somehow tell gcc to not try to find any crt*.o files and have it just do the link as above. If I can get past this point, I will basically have a full dev sys ready to go and I will be happy to put it in someone's ftp site, as there is nowhere in Calgary I can think of that has public enough access. I will also move on to building g++ (already built actually), and libg++ (not yet built but my next project). Can anyone help me past this obstacle? Until this is settled, there's really nowhere I can go from here. If you have some advice, please e-mail me at rpjday@cuug.ab.ca, and I will read this stuff after Nov 11 when I return to Calgary. thanks very much. R. Day Calgary Unix Users Group
Technical Details
Message-ID:
<CFw0n0.Mto@news.udel.edu>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!gatech!udel!news.udel.edu!strauss.udel.edu!vincentjShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,6e66e48043bfbcef,start X-Google-Attributes: gid11318c,public X-Google-Thread: 1122ea,6e66e48043bfbcef,start X-Google-Attributes: gid1122ea,public X-Google-ArrivalTime: 1993-11-02 15:46:11 PST Newsgroups: gnu.gcc.help,biz.sco.general Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!gatech!udel!news.udel.edu!strauss.udel.edu!vincentj From: vincentj@strauss.udel.edu (James Vincent) Subject: building gcc under SCO Message-ID: <CFw0n0.Mto@news.udel.edu> Sender: usenet@news.udel.edu Nntp-Posting-Host: strauss.udel.edu Organization: University of Delaware Date: Tue, 2 Nov 1993 23:16:11 GMT Lines: 42