This is the mail archive of the gcc-bugs@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: [Bug c/38286] configure: error: cannot compute suffix of object files - cannot find as


Hi. Since I'm the administrator of my server, I have installed gmp4.2.1
mpfr2.4.1 and then installing GCC4.3.2 and get the same result of Bugzilla
from gcc-bugzilla@gcc.gnu.org.  After installing binutils 2.1.9, I still get
the same error message of following 


-B/home/users/EDA/eda02/openMP_test/gcc-4.3.2/host-x86_64-unknown-linux-gnu/gcc/
-B/home/users/EDA/eda02/openMP_test/gcc-4.3.2-build/x86_64-unknown-linux-gnu/bin/
-B/home/users/EDA/eda02/openMP_test/gcc-4.3.2-build/x86_64-unknown-linux-gnu/lib/
-isystem
/home/users/EDA/eda02/openMP_test/gcc-4.3.2-build/x86_64-unknown-linux-gnu/include
-isystem
/home/users/EDA/eda02/openMP_test/gcc-4.3.2-build/x86_64-unknown-linux-gnu/sys-include
checking for suffix of object files... configure: error: cannot compute
suffix of object files: cannot compile
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgcc] Error 1
make[2]: Leaving directory `/home/users/EDA/eda02/openMP_test/gcc-4.3.2'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/users/EDA/eda02/openMP_test/gcc-4.3.2'
make: *** [all] Error 2

I guess the GCC does not know I have installed a new binutils due to the
configure 
"
./configure --prefix=/home/users/EDA/eda02/openMP_test/gcc-4.3.2-build
--enable-threads=posix--with-system-zlib --enable-languages=c,c++
--with-gmp=/home/users/EDA/eda02/openMP_test/gmp421
--with-mpfr=/home/users/EDA/eda02/openMP_test/mpfr241
LD_LIBRARY_PATH=/home/users/EDA/eda02/openMP_test/gcc-4.3.2-build/lib
" 
how can I make GCC know that there is a new binutils on other dir ??? 


THX for any response. 















Bugzilla from gcc-bugzilla@gcc.gnu.org wrote:
> 
> 
> 
> ------- Comment #1 from brian at dessent dot net  2008-11-27 11:29 -------
> Subject: Re:   New: configure: error: cannot compute suffix of 
>  object files - cannot find as
> 
> The assembler is not part of gcc.  You need to build and install
> binutils for your target (which will result in the cross-assembler and
> cross-linker) before attempting to build the compiler.
> 
> 
> -- 
> 
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38286
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/-Bug-c-38286---New%3A-configure%3A-error%3A-cannot-compute-suffix-of-object-files---cannot-find-as-tp20717408p22469444.html
Sent from the gcc - bugs mailing list archive at Nabble.com.


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