🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #3607

Re: GCC on Solaris7: "C compiler cannot create executables"

#3607
From: J.V.
Date: Wed, 20 Oct 1999 00:00
38 lines
2517 bytes
jtarrant@inri.co.uk (Jim Tarrant) wrote in
<380DAF9D.A20ED7E2@inri.co.uk>: 

>> configure: error: installation or configuration problem: C compiler
>> cannot create executables.
>> 
>> When I look into the config.log file, I find a bit more info:
>> 
>> configure:927: checking for gcc
>> configure:1004: checking whether the C compiler (gcc -g ) works
>> configure:1018: gcc -o conftest -g   conftest.c  1>&5
>> gcc: installation problem, cannot exec `as': No such file or directory
>> configure: failed program was:
>> #line 1014 "configure"
>> #include "confdefs.h"
>> main(){return(0);}
>> 
>> Now I think the problem is that there's no such "as" file on my
>> system. So I tried to install gcc-2.8.1 hoping that this would solve
>> the problem, but it's exactly the same.
>> Does anyone know what I can do to solve this? Thanks.
>
>as is the assembler used by gcc to generate object code.  You may or may
>not have an assembler already on Solaris 7 (/usr/ccs/bin???) but there
>is a GNU one available in the binutils package which will probably be
>available from the same place you got gcc-2.95.1 from and will install
>as where gcc expects to find it.
>
Thanks for your help! Only one more question: I don't have an assembler
installed yet, and on www.sunfeeware.com there's no package for this
version of gcc yet, do you have any idea where I can find it? Apparently
it should also be included as a package on the Solaris CD-ROM, but I
can't find out which package to install... And if not available as a
package, any help on how to install it would also be very welcome :-) 

>Good luck!
>
>Jim.
Technical Details
Message-ID: <8E65AD65Cnospamnowherecom@news.worldonline.be>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8E6580C9Fnospamnowherecom@news.worldonline.be> <380DAF9D.A20ED7E2@inri.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,1172555cf79ed188
X-Google-Attributes: gid11318c,public
X-Google-Thread: 11035d,1172555cf79ed188
X-Google-Attributes: gid11035d,public
X-Google-Thread: fc89c,1172555cf79ed188
X-Google-Attributes: gidfc89c,public
From: fr017905@nospam.worldonline.be (J.V.)
Subject: Re: GCC on Solaris7: "C compiler cannot create executables"
Date: 1999/10/20
Message-ID: <8E65AD65Cnospamnowherecom@news.worldonline.be>
X-Deja-AN: 538447005
References: <8E6580C9Fnospamnowherecom@news.worldonline.be> <380DAF9D.A20ED7E2@inri.co.uk>
X-Complaints-To: abuse@worldonline.be
X-Trace: news.worldonline.be 940432144 12105 212.233.3.141 (20 Oct 1999 15:09:04 GMT)
Organization: None
User-Agent: Xnews/2.07.01
NNTP-Posting-Date: 20 Oct 1999 15:09:04 GMT
Newsgroups: comp.unix.programmer,comp.unix.solaris,gnu.gcc.help