This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Compiling error


Thanks for replying didn't mean to trouble you.  I installed the binutils
and I go another error 

configure:1601: gcc    conftest.c  >&5
gcc: installation problem, cannot exec `/usr/ccs/bin/as': Exec format error
configure:1604: $? = 1
configure: failed program was:
#line 1575 "configure"

can you help.

 

-----Original Message-----
From: Alexandre Oliva [mailto:aoliva@redhat.com] 
Sent: Tuesday, January 07, 2003 2:36 PM
To: Andrew Luande
Cc: gnu@gnu.org; gcc@gcc.gnu.org
Subject: Re: Compiling error

On Jan  7, 2003, Andrew Luande <luandea@alt.co.ke> wrote:

> checking for C compiler default output... configure: error: C compiler
> cannot create executables
[snip]
> gcc: installation problem, cannot exec `as': No such file or directory

So that's why.  You haven't installed an assembler, that GCC needs in
order to produce object files.  Get binutils, or install Sun's native
packages for assembler and linker, depending on which your build of
GCC was configured to use.  If you don't know that, ask whoever built
GCC for you.  For further questions, use the gcc-help@gcc.gnu.org
mailing list.  This list is for discussion on development *of* GCC,
not *with* GCC.  Thanks,

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]