PLEASE HELP!!!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




I am trying to install GCC4.3.2 on a Sun machine running Solaris 9.  I
have installed the
recommended gmp-4.2.4 and mpfr-2.3.2 downloads.  This is my configure
command, which completes
without any errors:

../../src/gcc-4.3.2/configure --prefix=/build/ndbadm/gnu
--with-local-prefix=/build/ndbadm/gnu --with-gnu-as=/usr/gnu/bin/as
--with-gnu-ld=/usr/gnu/bin/ld --enable-languages=c,c++ --disable-nls
--disable-libgcj --with-gmp=/build/ndbadm/gnu
--with-mpfr=/build/ndbadm/gnu LDFLAGS="-L/build/ndbadm/gnu/lib -Xlinker
-R/build/ndbadm/gnu/lib -L/usr/gnu/lib"

I am using an old verson of gcc and gnu make (I believe 2.8.1) to do the
compiling.  I am always getting
errors when building in the libcc directory.  It is running some test
builds (I presume) on a conftest.c
file.  Here is the error:

-------
/build/ndbadm/gnu/obj/gcc-4.3.2/./gcc/xgcc
-B/build/ndbadm/gnu/obj/gcc-4.3.2/./gcc/ -
B/build/ndbadm/gnu/sparc-sun-solaris2.9/bin/
-B/build/ndbadm/gnu/sparc-sun-solaris2.9/lib/ -isystem
/build/ndbadm/gnu/sparc-sun-solaris2.9/include -isystem
/build/ndbadm/gnu/sparc-sun-solaris2.9/sys-include  -m64 -o conftest -g
-L/build/ndbadm/gnu/lib conftest.c >&5

Assembler messages:
Error: invalid architecture -xarch=v9
-------

I also try to compile the conftest.c manually without the "-m64" option
and I get:

-------
 /build/ndbadm/gnu/obj/gcc-4.3.2/./gcc/collect2 -V -Y
P,/usr/ccs/lib:/usr/lib -Qy -o conftest crt1.o crti.o
/usr/ccs/lib/values-Xa.o crtbegin.o -L/build/ndbadm/gnu/lib
-L/usr/gnu/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/
-L/usr/gnu/lib/gcc-lib -L/usr/gnu/lib/gcc-lib/sparc-sun-solaris2.6/
-L/build/ndbadm/gnu/obj/gcc-4.3.2/./gcc -L/usr/ccs/lib
/var/tmp//ccrPxiwg.o -lgcc -lgcc_eh -lc -lgcc -lgcc_eh -lc crtend.o
crtn.o
ld: fatal: file crt1.o: open failed: No such file or directory
collect2: ld returned 1 exit status
-------

I see that I have a "crt1.o" in a directory where my old gcc resides.
But I have no clue how to
point to it.  

I would GREATLY appreciate someone's time in helping me get gcc to
compile.


THANK YOU SO MUCH!!!!!!!!!!!!!!
Georg


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux