Article View: comp.unix.programmer
Article #3614GCC on Solaris7: "C compiler cannot create executables"
From: J.V.
Date: Wed, 20 Oct 1999 00:00
Date: Wed, 20 Oct 1999 00:00
28 lines
1906 bytes
1906 bytes
Hello all,
I'm desperately trying to install ssh onto a Solaris 7 system (SPARC).
Since no compiler comes with Solaris, I downloaded gcc-2.95.1 from
sunfreeware.com and installed it, together with make-3.77.
However whenever I run configure for ssh, it stops with the following
message:
checking for gcc... gcc
checking whether the C compiler (gcc -g ) works... no
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.
J.V.
Technical Details
Message-ID:
<8E6580C9Fnospamnowherecom@news.worldonline.be>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,1172555cf79ed188,start X-Google-Attributes: gid11318c,public X-Google-Thread: fc89c,1172555cf79ed188,start X-Google-Attributes: gidfc89c,public X-Google-Thread: 11035d,1172555cf79ed188,start X-Google-Attributes: gid11035d,public From: fr017905@nospam.worldonline.be (J.V.) Subject: GCC on Solaris7: "C compiler cannot create executables" Date: 1999/10/20 Message-ID: <8E6580C9Fnospamnowherecom@news.worldonline.be> X-Deja-AN: 538383150 X-Complaints-To: abuse@worldonline.be X-Trace: news.worldonline.be 940420360 5444 212.233.3.141 (20 Oct 1999 11:52:40 GMT) Organization: None User-Agent: Xnews/2.07.01 NNTP-Posting-Date: 20 Oct 1999 11:52:40 GMT Newsgroups: comp.unix.programmer,comp.unix.solaris,gnu.gcc.help